From 7ef133ad4752316da1fd0172395d83ac1c9b24d8 Mon Sep 17 00:00:00 2001 From: Danny Canter Date: Mon, 10 Jul 2023 01:45:17 -0700 Subject: [PATCH] Fix mount pkg typo retired -> retried Signed-off-by: Danny Canter --- mount/mount_freebsd.go | 2 +- mount/mount_linux.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) }