diff options
author | Ryan Moeller <[email protected]> | 2020-10-30 11:55:59 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-30 08:55:59 -0700 |
commit | 76d04993a60fcd30bbb815cfa7f716cbebcdfcbd (patch) | |
tree | e375500f671cc1d8ae9f96bc6a8d049560170257 /lib | |
parent | e3a6ac8d06210ac035cec8d86fab05549ff54f94 (diff) |
Update references to nonexistent man pages in code
Refer to the correct section or alternative for FreeBSD and Linux.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #11132
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libzfs/libzfs_util.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libzfs/libzfs_util.c b/lib/libzfs/libzfs_util.c index a457fbfd0..95cb32957 100644 --- a/lib/libzfs/libzfs_util.c +++ b/lib/libzfs/libzfs_util.c @@ -148,15 +148,15 @@ libzfs_error_description(libzfs_handle_t *hdl) case EZFS_MOUNTFAILED: return (dgettext(TEXT_DOMAIN, "mount failed")); case EZFS_UMOUNTFAILED: - return (dgettext(TEXT_DOMAIN, "umount failed")); + return (dgettext(TEXT_DOMAIN, "unmount failed")); case EZFS_UNSHARENFSFAILED: - return (dgettext(TEXT_DOMAIN, "unshare(1M) failed")); + return (dgettext(TEXT_DOMAIN, "NFS share removal failed")); case EZFS_SHARENFSFAILED: - return (dgettext(TEXT_DOMAIN, "share(1M) failed")); + return (dgettext(TEXT_DOMAIN, "NFS share creation failed")); case EZFS_UNSHARESMBFAILED: - return (dgettext(TEXT_DOMAIN, "smb remove share failed")); + return (dgettext(TEXT_DOMAIN, "SMB share removal failed")); case EZFS_SHARESMBFAILED: - return (dgettext(TEXT_DOMAIN, "smb add share failed")); + return (dgettext(TEXT_DOMAIN, "SMB share creation failed")); case EZFS_PERM: return (dgettext(TEXT_DOMAIN, "permission denied")); case EZFS_NOSPC: |