summaryrefslogtreecommitdiffstats
path: root/sys-utils/mount.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/mount.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/mount.c')
-rw-r--r--sys-utils/mount.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-utils/mount.c b/sys-utils/mount.c
index 0f7fa9097..ffe294e3f 100644
--- a/sys-utils/mount.c
+++ b/sys-utils/mount.c
@@ -36,10 +36,12 @@
#include "c.h"
#include "env.h"
#include "strutils.h"
-#include "xalloc.h"
#include "closestream.h"
#include "canonicalize.h"
+#define XALLOC_EXIT_CODE MNT_EX_SYSERR
+#include "xalloc.h"
+
#define OPTUTILS_EXIT_CODE MNT_EX_USAGE
#include "optutils.h"