summaryrefslogtreecommitdiff
path: root/ppsthread.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-29 15:53:04 -0700
committerGary E. Miller <gem@rellim.com>2015-03-29 15:53:04 -0700
commitbfcf8e7e727d5f4f1ef1c40ca4e260154768edca (patch)
treefc98a21b06a6c2a766457c3c35092c48444cc9af /ppsthread.c
parent427f2b75fe891384d9d90c7d5cdc3af555265398 (diff)
downloadgpsd-bfcf8e7e727d5f4f1ef1c40ca4e260154768edca.tar.gz
Fix a truncated PPS log message.
Diffstat (limited to 'ppsthread.c')
-rw-r--r--ppsthread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ppsthread.c b/ppsthread.c
index af580847..dcc84bcf 100644
--- a/ppsthread.c
+++ b/ppsthread.c
@@ -1077,8 +1077,9 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg)
}
timespec_str( &clock_ts, ts_str1, sizeof(ts_str1) );
timespec_str( &offset, offset_str, sizeof(offset_str) );
+ /* FIXME? show edge here ? */
thread_context->log_hook(thread_context, THREAD_PROG,
- "PPS:%s edge %.20s @ %s offset %.20s\n",
+ "PPS:%s %.30s @ %s offset %.20s\n",
thread_context->devicename,
log1, ts_str1, offset_str);
} else {