diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:02:53 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:02:53 -0400 |
commit | 2240d9ca9f1b367ef985eef8a3a028936ac71f56 (patch) | |
tree | 3c9543b96e5eb24b35836942db7c508fc239a8da /test_bits.c | |
parent | c6e26279e448cb50d26aa308a1473a1d192b192a (diff) | |
download | gpsd-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.c | 2 |
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); } |