summaryrefslogtreecommitdiffstats
path: root/bin/setfacl/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/setfacl/util.c')
-rw-r--r--bin/setfacl/util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/setfacl/util.c b/bin/setfacl/util.c
index f4fef77..2c1a6e27 100644
--- a/bin/setfacl/util.c
+++ b/bin/setfacl/util.c
@@ -29,7 +29,6 @@
#include <err.h>
#include <stdlib.h>
#include <string.h>
-#include <sysexits.h>
#include "setfacl.h"
@@ -40,6 +39,6 @@ zmalloc(size_t size)
ptr = calloc(1, size);
if (ptr == NULL)
- err(EX_OSERR, "calloc() failed");
- return ptr;
+ err(1, "calloc() failed");
+ return (ptr);
}
OpenPOWER on IntegriCloud