ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit f7a4849ded9292fce96bcd3afe7ff63c4834b763
parent e6375453b1a108f902911cabec559aad210623af
Author: sin <sin@2f30.org>
Date:   Fri,  7 Mar 2014 14:00:44 +0000

No need to have ':' in perror()

It gets added automatically.

Diffstat:
Mumount.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/umount.c b/umount.c @@ -46,7 +46,7 @@ main(int argc, char *argv[]) eprintf("setmntent %s:", "/etc/fstab"); while ((me = getmntent(fp))) { if (umount2(me->mnt_dir, flags) < 0) { - perror("umount2:"); + perror("umount2"); ret = EXIT_FAILURE; } } @@ -56,7 +56,7 @@ main(int argc, char *argv[]) for (i = 0; i < argc; i++) { if (umount2(argv[i], flags) < 0) { - perror("umount2:"); + perror("umount2"); ret = EXIT_FAILURE; } }