Introduction
Introduction Statistics Contact Development Disclaimer Help
No need for enprintf(1, ...) just use eprintf() - smdev - suckless mdev
git clone git://git.suckless.org/smdev
Log
Files
Refs
README
LICENSE
---
commit b221ca33fd0deb80fadcdf9bd06392f9e2480553
parent 558780ab890c2411bb8d6a8684f985d440681410
Author: sin <[email protected]>
Date: Sat, 2 Aug 2014 13:47:49 +0100
No need for enprintf(1, ...) just use eprintf()
Diffstat:
M 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);
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.