diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-11-17 19:23:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-11-17 19:23:00 +0000 |
commit | d678f81143a57f9a61e898c272f95da696848c62 (patch) | |
tree | a9f06307f3b649ca749ee8921caa261eb96e488a /serial.c | |
parent | bc803dee5dcd2fa36b10398f4a081a8aac46e6fb (diff) | |
download | gpsd-d678f81143a57f9a61e898c272f95da696848c62.tar.gz |
Fix some whitespace glitches found while experimenting with indent(1).
All regression tests pass.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -233,7 +233,7 @@ int gpsd_open(struct gps_device_t *session) mode_t mode = (mode_t)O_RDWR; /*@ -boolops -type @*/ - if (session->context->readonly || ((stat(session->gpsdata.dev.path, &sb) != -1) && ((sb.st_mode & S_IFCHR) != S_IFCHR))){ + if (session->context->readonly || ((stat(session->gpsdata.dev.path, &sb) != -1) && ((sb.st_mode & S_IFCHR) != S_IFCHR))) { mode = (mode_t)O_RDONLY; gpsd_report(LOG_INF, "opening read-only GPS data source at '%s'\n", session->gpsdata.dev.path); } else { |