[hackers] [ubase] Fix some more instances of enprintf(EXIT_FAILURE, ...); || sin
commit d0dc4dc2b7cdd3cabd339342d13fd994bdba2d6a
Author: sin <sin_AT_2f30.org>
Date: Thu Feb 27 15:08:17 2014 +0000
Fix some more instances of enprintf(EXIT_FAILURE, ...);
diff --git a/lsmod.c b/lsmod.c
index 5cfd3f0..8f625b0 100644
--- a/lsmod.c
+++ b/lsmod.c
_AT_@ -38,7 +38,7 @@ main(int argc, char *argv[])
while (fgets(buf, sizeof buf, fp)) {
parse_modline(buf, &name, &size, &refcount, &users);
if (!name || !size || !refcount || !users)
- enprintf(1, "invalid format: %s
", modfile);
+ eprintf("invalid format: %s
", modfile);
len = strlen(users) - 1;
if (users[len] == ',' || users[len] == '-')
users[len] = '
Received on Thu Feb 27 2014 - 16:10:42 CET
This archive was generated by hypermail 2.3.0
: Thu Feb 27 2014 - 16:12:18 CET