summaryrefslogtreecommitdiff
path: root/net_dgpsip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-05-05 05:20:45 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-05-05 05:20:45 -0400
commit2081752d42cbbef85494f8e86337031c7b227795 (patch)
treedd3f151696a5bcd3992c054e578b53b0cdb0573c /net_dgpsip.c
parentf574ec49f88869541f7b9e265ec7abd5e6aaec1e (diff)
downloadgpsd-2081752d42cbbef85494f8e86337031c7b227795.tar.gz
Stop trying to special-case terminating whitespace in gpsd_report().
Diffstat (limited to 'net_dgpsip.c')
-rw-r--r--net_dgpsip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net_dgpsip.c b/net_dgpsip.c
index 0217c0bb..92eb5a28 100644
--- a/net_dgpsip.c
+++ b/net_dgpsip.c
@@ -87,9 +87,9 @@ void dgpsip_report(struct gps_device_t *session)
session->gpsdata.fix.altitude);
if (write(session->context->dsock, buf, strlen(buf)) ==
(ssize_t) strlen(buf))
- gpsd_report(LOG_IO, "=> dgps %s", buf);
+ gpsd_report(LOG_IO, "=> dgps %s\n", buf);
else
- gpsd_report(LOG_IO, "write to dgps FAILED");
+ gpsd_report(LOG_IO, "write to dgps FAILED\n");
}
}
}