[Pkg-samba-maint] Bug#517021: Missing space in error message

Matt Kraai kraai at ftbfs.org
Tue Feb 24 17:33:13 UTC 2009


Package: smbfs
Version: 2:3.3.0-3
Severity: minor
Tags: patch

I accidentally forgot the "user=" part of the argument to the -o
option to mount.cifs, which resulted in the following message:

 mount error(13): Permission denied
 Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

The attached patch adds a space after "e.g.".

-- 
Matt                                                 http://ftbfs.org/
-------------- next part --------------
diff -ru samba-3.3.0~/source/client/mount.cifs.c samba-3.3.0/source/client/mount.cifs.c
--- samba-3.3.0~/source/client/mount.cifs.c	2009-02-24 09:27:10.000000000 -0800
+++ samba-3.3.0/source/client/mount.cifs.c	2009-02-24 09:28:51.000000000 -0800
@@ -1435,7 +1435,7 @@
 			}
 		}
 		printf("mount error(%d): %s\n", errno, strerror(errno));
-		printf("Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)\n");
+		printf("Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)\n");
 		rc = EX_FAIL;
 		goto mount_exit;
 	}


More information about the Pkg-samba-maint mailing list