Fix mount pkg typo

retired -> retried

Signed-off-by: Danny Canter <danny@dcantah.dev>
This commit is contained in:
Danny Canter 2023-07-10 01:45:17 -07:00
parent 9afa2256f1
commit 7ef133ad47
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)
}