xbps-src-chroot-capumount: fix error message.
This commit is contained in:
parent
672d088e21
commit
43ecc9f661
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ main(int argc, char **argv)
|
|||
cap_free(cap);
|
||||
|
||||
if ((rv = umount(argv[1])) != 0) {
|
||||
fprintf(stderr, "E: cannot umount %s: %s\n", argv[0],
|
||||
fprintf(stderr, "E: cannot umount %s: %s\n", argv[1],
|
||||
strerror(errno));
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue