smdev

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

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

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

Diffstat:
Msmdev.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); }