diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:05:42 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:05:42 -0400 |
commit | 2e0f4f819440eb446eb4a2f352a295adb6672bcf (patch) | |
tree | 52be8f4df16926b661dd6719a6e0b944180aa867 /cgps.c | |
parent | 2240d9ca9f1b367ef985eef8a3a028936ac71f56 (diff) | |
download | gpsd-2e0f4f819440eb446eb4a2f352a295adb6672bcf.tar.gz |
Replace exit(2) with exit(EXIT_FAILURE). None of these were documented.
This is a separate commit so we can revert it someday if making the
distinction again comes to seem more important than struct mingw
portability.
All regression tests pass.
Diffstat (limited to 'cgps.c')
-rw-r--r-- | cgps.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -790,7 +790,7 @@ int main(int argc, char *argv[]) (void)fprintf(stderr, "cgps: no gpsd running or network error: %d, %s\n", errno, gps_errstr(errno)); - exit(2); + exit(EXIT_FAILURE); } /* note: we're assuming BSD-style reliable signals here */ |