Re: [nfs-utils PATCH 1/1] error.c: Put string for EOPNOTSUPP on single line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 3/2/20 9:08 AM, Petr Vorel wrote:
> to help people find it when search for common NFS error:
> mount.nfs: requested NFS version or transport protocol is not supported
> 
> Signed-off-by: Petr Vorel <pvorel@xxxxxxx>
Committed... (tag: nfs-utils-2-4-4-rc2)

steved.

> ---
>  utils/mount/error.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/utils/mount/error.c b/utils/mount/error.c
> index 986f0660..73295bf0 100644
> --- a/utils/mount/error.c
> +++ b/utils/mount/error.c
> @@ -210,8 +210,7 @@ void mount_error(const char *spec, const char *mount_point, int error)
>  		nfs_error(_("%s: an incorrect mount option was specified"), progname);
>  		break;
>  	case EOPNOTSUPP:
> -		nfs_error(_("%s: requested NFS version or transport"
> -				" protocol is not supported"),
> +		nfs_error(_("%s: requested NFS version or transport protocol is not supported"),
>  				progname);
>  		break;
>  	case ENOTDIR:
> 




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux