[hackers] [smdev] No need for enprintf(1, ...) just use eprintf() || sin
commit b221ca33fd0deb80fadcdf9bd06392f9e2480553
Author: sin <sin_AT_2f30.org>
Date: Sat Aug 2 13:47:49 2014 +0100
No need for enprintf(1, ...) just use eprintf()
diff --git a/smdev.c b/smdev.c
index 83b7c17..252d350 100644
--- a/smdev.c
+++ b/smdev.c
_AT_@ -292,7 +292,7 @@ createdev(struct event *ev)
if (errno)
eprintf("getpwnam %s:", rule->user);
else
- enprintf(1, "getpwnam %s: no such user
",
+ eprintf("getpwnam %s: no such user
",
rule->user);
}
_AT_@ -302,7 +302,7 @@ createdev(struct event *ev)
if (errno)
eprintf("getgrnam %s:", rule->group);
else
- enprintf(1, "getgrnam %s: no such group
",
+ eprintf("getgrnam %s: no such group
",
rule->group);
}
Received on Sat Aug 02 2014 - 14:49:00 CEST
This archive was generated by hypermail 2.3.0
: Sat Aug 02 2014 - 15:00:12 CEST