summaryrefslogtreecommitdiffstats
path: root/sys-utils/tunelp.c
diff options
context:
space:
mode:
authorRuediger Meier2017-06-20 20:01:32 +0200
committerRuediger Meier2017-06-22 21:51:40 +0200
commit05691d9e8857de4e83b343f042e9f4590f15425d (patch)
tree81b958bbfba5cd68ba91881fae6208393c042608 /sys-utils/tunelp.c
parentbuild-sys: update DISTCHECK_CONFIGURE_FLAGS (diff)
downloadkernel-qcow2-util-linux-05691d9e8857de4e83b343f042e9f4590f15425d.tar.gz
kernel-qcow2-util-linux-05691d9e8857de4e83b343f042e9f4590f15425d.tar.xz
kernel-qcow2-util-linux-05691d9e8857de4e83b343f042e9f4590f15425d.zip
misc: fix some broken exit codes
These tools have special exit codes. They got changed mistakenly. See: findfs 0e1fa6b6 fsck 658c0891 fsck.cramfs 922ec175 mkfs.cramfs 16154b1f tunelp 2ab428f6 FIXME: STRTOXX_EXIT_CODE doesn't work as it should. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'sys-utils/tunelp.c')
-rw-r--r--sys-utils/tunelp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-utils/tunelp.c b/sys-utils/tunelp.c
index 8cfbe80a2..89afff1ba 100644
--- a/sys-utils/tunelp.c
+++ b/sys-utils/tunelp.c
@@ -71,14 +71,17 @@
#include "lp.h"
#include "nls.h"
-#include "xalloc.h"
#include "closestream.h"
+#define EXIT_LP_MALLOC 2
#define STRTOXX_EXIT_CODE 3
#define EXIT_LP_IO_ERR 4
#include "strutils.h"
+#define XALLOC_EXIT_CODE EXIT_LP_MALLOC
+#include "xalloc.h"
+
struct command {
long op;
long val;