woops, i shouldnt be so presumtuous? about what the error will be
This commit is contained in:
parent
3aae10014c
commit
1b62619446
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 New Issue
Block a user