diff --git a/xbps-src/libexec/umount.c b/xbps-src/libexec/umount.c index 1ddb778d22f..91c88e94b97 100644 --- a/xbps-src/libexec/umount.c +++ b/xbps-src/libexec/umount.c @@ -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); }