summaryrefslogtreecommitdiffstats
path: root/sys-utils/umount.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/umount.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/umount.c')
-rw-r--r--sys-utils/umount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-utils/umount.c b/sys-utils/umount.c
index ed8fd4fe2..2dfb13975 100644
--- a/sys-utils/umount.c
+++ b/sys-utils/umount.c
@@ -36,6 +36,8 @@
#include "closestream.h"
#include "pathnames.h"
#include "canonicalize.h"
+
+#define XALLOC_EXIT_CODE MNT_EX_SYSERR
#include "xalloc.h"
static int table_parser_errcb(struct libmnt_table *tb __attribute__((__unused__)),