summaryrefslogtreecommitdiff
path: root/test_bits.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-09-07 06:02:53 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-09-07 06:02:53 -0400
commit2240d9ca9f1b367ef985eef8a3a028936ac71f56 (patch)
tree3c9543b96e5eb24b35836942db7c508fc239a8da /test_bits.c
parentc6e26279e448cb50d26aa308a1473a1d192b192a (diff)
downloadgpsd-2240d9ca9f1b367ef985eef8a3a028936ac71f56.tar.gz
Replace exit({0,1}) with exit(EXIT_{SUCCESS,FAILURE})
Note there are some exit(2) instances we bneed to decide what to do with.
Diffstat (limited to 'test_bits.c')
-rw-r--r--test_bits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_bits.c b/test_bits.c
index ad990711..69139912 100644
--- a/test_bits.c
+++ b/test_bits.c
@@ -219,5 +219,5 @@ int main(int argc, char *argv[])
success ? "succeeded" : "FAILED");
}
- exit(failures ? 1 : 0);
+ exit(failures ? EXIT_FAILURE : EXIT_SUCCESS);
}