diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2001-05-07 01:40:59 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2001-05-07 01:40:59 +0000 |
commit | 1b6261944664beedf0e4e3e546635f0a809da41e (patch) | |
tree | 3a69feb939f61586473ed296cf778e7bad28a93b | |
parent | 3aae10014c184cb28e30196cafa143fe622fc508 (diff) | |
download | busybox-w32-1b6261944664beedf0e4e3e546635f0a809da41e.tar.gz busybox-w32-1b6261944664beedf0e4e3e546635f0a809da41e.tar.bz2 busybox-w32-1b6261944664beedf0e4e3e546635f0a809da41e.zip |
woops, i shouldnt be so presumtuous? about what the error will be
-rw-r--r-- | mount.c | 2 | ||||
-rw-r--r-- | util-linux/mount.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -395,7 +395,7 @@ extern int mount_main(int argc, char **argv) | |||
395 | 395 | ||
396 | if (optind + 1 < argc) { | 396 | if (optind + 1 < argc) { |
397 | if (realpath(argv[optind + 1], directory) == NULL) { | 397 | if (realpath(argv[optind + 1], directory) == NULL) { |
398 | perror_msg_and_die("Invalid directory %s", directory); | 398 | perror_msg_and_die("%s", directory); |
399 | } | 399 | } |
400 | } | 400 | } |
401 | 401 | ||
diff --git a/util-linux/mount.c b/util-linux/mount.c index fa885cb1e..e511b798b 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -395,7 +395,7 @@ extern int mount_main(int argc, char **argv) | |||
395 | 395 | ||
396 | if (optind + 1 < argc) { | 396 | if (optind + 1 < argc) { |
397 | if (realpath(argv[optind + 1], directory) == NULL) { | 397 | if (realpath(argv[optind + 1], directory) == NULL) { |
398 | perror_msg_and_die("Invalid directory %s", directory); | 398 | perror_msg_and_die("%s", directory); |
399 | } | 399 | } |
400 | } | 400 | } |
401 | 401 | ||