diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-10-26 21:06:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-10-26 21:06:58 +0000 |
commit | fd4454fe36da611eef7d3c75918ac5a4d5c0c12c (patch) | |
tree | d3251d8fe02e0728b5e06cee682a02fcf5f99e0a /dgnss.c | |
parent | 8c4c1b38e7db2adc24528912d20486d386764327 (diff) | |
download | gpsd-fd4454fe36da611eef7d3c75918ac5a4d5c0c12c.tar.gz |
Partial splint cleanup.
Diffstat (limited to 'dgnss.c')
-rw-r--r-- | dgnss.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,8 +53,8 @@ int dgnss_poll(struct gps_context_t *context) context->rtcmbytes = read(context->dsock, context->rtcmbuf, sizeof(context->rtcmbuf)); if ((context->rtcmbytes == -1 && errno != EAGAIN) || (context->rtcmbytes == 0)) { - shutdown(context->dsock, SHUT_RDWR); - close(context->dsock); + (void)shutdown(context->dsock, SHUT_RDWR); + (void)close(context->dsock); return -1; } else context->rtcmtime = timestamp(); |