[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]

 



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>
---
 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:
-- 
2.25.1




[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