From: Glenn L McGrath Date: Mon, 7 May 2001 01:40:59 +0000 (-0000) Subject: woops, i shouldnt be so presumtuous? about what the error will be X-Git-Tag: 0_52~233 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1b6261944664beedf0e4e3e546635f0a809da41e;p=oweals%2Fbusybox.git woops, i shouldnt be so presumtuous? about what the error will be --- diff --git a/mount.c b/mount.c index fa885cb1e..e511b798b 100644 --- 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); } } 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) 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); } }