summaryrefslogtreecommitdiff
path: root/ppsthread.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-30 12:40:57 -0700
committerGary E. Miller <gem@rellim.com>2015-03-30 14:25:09 -0700
commitb531c32f40917e60c716a13e1e4759624e5957d2 (patch)
treea022b486502f015137a5800444fdb881f1859d34 /ppsthread.c
parent4a4cedd2d5dfe2e85af996b1511fd1ba3a2faf69 (diff)
downloadgpsd-b531c32f40917e60c716a13e1e4759624e5957d2.tar.gz
Typo, THREAD_INF not THREAD_INFO
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 9af4978e..96b4313d 100644
--- a/ppsthread.c
+++ b/ppsthread.c
@@ -697,6 +697,7 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg)
thread_context->devicename,
pps_caps);
}
+pps_caps = 0; /* DEBUG, do not ccommmit!! */
if ( 0 != (PPS_CANWAIT & pps_caps ) ) {
/* we can wait! so no need for TIOCMIWAIT */
@@ -1118,7 +1119,7 @@ void pps_thread_activate(volatile struct pps_thread_t *pps_thread)
/* some operations in init_kernel_pps() require root privs */
(void)init_kernel_pps(pps_thread);
if ( 0 <= pps_thread->kernelpps_handle ) {
- pps_thread->log_hook(pps_thread, THREAD_INFO,
+ pps_thread->log_hook(pps_thread, THREAD_INF,
"KPPS:%s kernel PPS will be used\n",
pps_thread->devicename);
} else