diff --git a/mount/mount_freebsd.go b/mount/mount_freebsd.go index f41df3dea..6f3e8ff91 100644 --- a/mount/mount_freebsd.go +++ b/mount/mount_freebsd.go @@ -75,7 +75,7 @@ func (m *Mount) mount(target string) error { _ = unmount(target, 0) } } - return fmt.Errorf("mount [%v] failed with ECHILD (retired %d times)", args, retriesOnECHILD) + return fmt.Errorf("mount [%v] failed with ECHILD (retried %d times)", args, retriesOnECHILD) } // Unmount the provided mount path with the flags diff --git a/mount/mount_linux.go b/mount/mount_linux.go index adb59b819..90dd941a9 100644 --- a/mount/mount_linux.go +++ b/mount/mount_linux.go @@ -449,5 +449,5 @@ func (m *Mount) mountWithHelper(helperBinary, typePrefix, target string) error { _ = unmount(target, 0) } } - return fmt.Errorf("mount helper [%s %v] failed with ECHILD (retired %d times)", helperBinary, args, retriesOnECHILD) + return fmt.Errorf("mount helper [%s %v] failed with ECHILD (retried %d times)", helperBinary, args, retriesOnECHILD) }