smdev

suckless mdev
git clone git://git.2f30.org/smdev.git
Log | Files | Refs | README | LICENSE

commit f3d717b243124de07993fbca764825752f1ecc64
parent 558780ab890c2411bb8d6a8684f985d440681410
Author: sin <sin@2f30.org>
Date:   Sat Aug  2 13:47:49 +0100

No need for enprintf(1, ...) just use eprintf()

Diffstat:
smdev.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/smdev.c b/smdev.c @@ -292,7 +292,7 @@ createdev(struct event *ev) if (errno) eprintf("getpwnam %s:", rule->user); else - enprintf(1, "getpwnam %s: no such user\n", + eprintf("getpwnam %s: no such user\n", rule->user); } @@ -302,7 +302,7 @@ createdev(struct event *ev) if (errno) eprintf("getgrnam %s:", rule->group); else - enprintf(1, "getgrnam %s: no such group\n", + eprintf("getgrnam %s: no such group\n", rule->group); }