woops, i shouldnt be so presumtuous? about what the error will be
authorGlenn L McGrath <bug1@ihug.co.nz>
Mon, 7 May 2001 01:40:59 +0000 (01:40 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Mon, 7 May 2001 01:40:59 +0000 (01:40 -0000)
mount.c
util-linux/mount.c

diff --git a/mount.c b/mount.c
index fa885cb1e3582d0071464c58e3aa110b2f86ca9a..e511b798b9e78c89ca520d418c8bbb2ebd17dfdf 100644 (file)
--- a/mount.c
+++ b/mount.c
@@ -395,7 +395,7 @@ extern int mount_main(int argc, char **argv)
 
        if (optind + 1 < argc) {
                if (realpath(argv[optind + 1], directory) == NULL) {
-                       perror_msg_and_die("Invalid directory %s", directory);
+                       perror_msg_and_die("%s", directory);
                }
        }
        
index fa885cb1e3582d0071464c58e3aa110b2f86ca9a..e511b798b9e78c89ca520d418c8bbb2ebd17dfdf 100644 (file)
@@ -395,7 +395,7 @@ extern int mount_main(int argc, char **argv)
 
        if (optind + 1 < argc) {
                if (realpath(argv[optind + 1], directory) == NULL) {
-                       perror_msg_and_die("Invalid directory %s", directory);
+                       perror_msg_and_die("%s", directory);
                }
        }