summaryrefslogtreecommitdiff
path: root/jffsX-utils/mkfs.jffs2.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@siemens.com>2017-06-12 12:50:43 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-06-14 10:53:15 +0200
commitccffc105b0b361150666f97b59ac72cff8466e9b (patch)
tree4c4b7022317a42172a187fa681896c514b27255e /jffsX-utils/mkfs.jffs2.c
parent871c2f1e898fc692e2966092372ee9c4ce31bbc0 (diff)
Use defines for exit code values
Make the usage of exit consist. That is use the pre defined exit values. Signed-off-by: Daniel Wagner <daniel.wagner@siemens.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'jffsX-utils/mkfs.jffs2.c')
-rw-r--r--jffsX-utils/mkfs.jffs2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jffsX-utils/mkfs.jffs2.c b/jffsX-utils/mkfs.jffs2.c
index ca5e0d5..88e6cab 100644
--- a/jffsX-utils/mkfs.jffs2.c
+++ b/jffsX-utils/mkfs.jffs2.c
@@ -1052,7 +1052,7 @@ static void formalize_posix_acl(void *xvalue, int *value_len)
if (offset > *value_len) {
printf("Length of JFFS2 ACL expression(%u) is longer than general one(%u).\n",
offset, *value_len);
- exit(1);
+ exit(EXIT_FAILURE);
}
memcpy(xvalue, buffer, offset);
*value_len = offset;