summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock.c
diff options
context:
space:
mode:
authorRuediger Meier2017-06-22 22:17:14 +0200
committerRuediger Meier2017-06-22 22:40:27 +0200
commit778ca2a0d49dc6110a18214c56dd8ae9993983de (patch)
tree13f9664e6e1e1f6408e4bfaa4627b4f3c1974597 /sys-utils/hwclock.c
parentmisc: fix more strutils related exit codes (diff)
downloadkernel-qcow2-util-linux-778ca2a0d49dc6110a18214c56dd8ae9993983de.tar.gz
kernel-qcow2-util-linux-778ca2a0d49dc6110a18214c56dd8ae9993983de.tar.xz
kernel-qcow2-util-linux-778ca2a0d49dc6110a18214c56dd8ae9993983de.zip
misc: fix xalloc.h related exit codes
Found by: grep -L "XALLOC_EXIT_CODE" $(grep -l "xalloc\.h" \ $(git grep -l "_EX_\|FINDFS_\|BLKID_EXIT\|EX_USAGE" -- "*.c")) Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'sys-utils/hwclock.c')
-rw-r--r--sys-utils/hwclock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c
index 325106afc..5c341446d 100644
--- a/sys-utils/hwclock.c
+++ b/sys-utils/hwclock.c
@@ -71,6 +71,7 @@
#include <unistd.h>
#define OPTUTILS_EXIT_CODE EX_USAGE
+#define XALLOC_EXIT_CODE EX_OSERR
#include "c.h"
#include "closestream.h"