From 778ca2a0d49dc6110a18214c56dd8ae9993983de Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Thu, 22 Jun 2017 22:17:14 +0200 Subject: 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 --- sys-utils/mount.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys-utils/mount.c') 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" -- cgit v1.2.3-55-g7522