summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-17 19:23:00 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-17 19:23:00 +0000
commitd678f81143a57f9a61e898c272f95da696848c62 (patch)
treea9f06307f3b649ca749ee8921caa261eb96e488a /serial.c
parentbc803dee5dcd2fa36b10398f4a081a8aac46e6fb (diff)
downloadgpsd-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial.c b/serial.c
index a0f327e2..b7529c6a 100644
--- a/serial.c
+++ b/serial.c
@@ -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 {