diff --git a/umount.c b/umount.c index c4eb9fe..23b9ff7 100644 --- a/umount.c +++ b/umount.c @@ -35,7 +35,7 @@ main(int argc, char *argv[]) for (i = 0; i < argc; i++) { if (umount2(argv[i], flags) < 0) - eprintf("umount2:"); + perror("umount2:"); ret = EXIT_FAILURE; } return ret;