mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
woops, i shouldnt be so presumtuous? about what the error will be
This commit is contained in:
parent
3aae10014c
commit
1b62619446
2 changed files with 2 additions and 2 deletions
2
mount.c
2
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue