summaryrefslogtreecommitdiff
path: root/ppsthread.c
diff options
context:
space:
mode:
authorHal Murray <hmurray@megapathdsl.net>2015-03-24 14:19:40 -0700
committerGary E. Miller <gem@rellim.com>2015-03-24 14:27:12 -0700
commit0801ddb30b4a8d7a75d965973cec6131952b715b (patch)
treea168c589b082372975145a94cce9f82583939da1 /ppsthread.c
parente71d3373bc8b2979f32e40629401baafb7b41f5c (diff)
downloadgpsd-0801ddb30b4a8d7a75d965973cec6131952b715b.tar.gz
ppsthread.c broken on non-Linux
Signed-off-by: Gary E. Miller <gem@rellim.com>
Diffstat (limited to 'ppsthread.c')
-rw-r--r--ppsthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppsthread.c b/ppsthread.c
index cb1daac3..c03e708f 100644
--- a/ppsthread.c
+++ b/ppsthread.c
@@ -156,8 +156,8 @@ static int init_kernel_pps(volatile struct pps_thread_t *pps_thread)
/* These variables are only needed by Linux to find /dev/ppsN. */
int ldisc = 18; /* the PPS line discipline */
glob_t globbuf;
- char path[PATH_MAX] = "";
#endif
+ char path[PATH_MAX] = "";
pps_thread->kernelpps_handle = -1;