diff options
-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) 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); } } |