diff mbox series

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

Message ID 20200302140855.19453-1-pvorel@suse.cz (mailing list archive)
State New, archived
Headers show
Series [nfs-utils,1/1] error.c: Put string for EOPNOTSUPP on single line | expand

Commit Message

Petr Vorel March 2, 2020, 2:08 p.m. UTC
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@suse.cz>
---
 utils/mount/error.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Steve Dickson March 27, 2020, 7:15 p.m. UTC | #1
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@suse.cz>
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:
>
diff mbox series

Patch

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: