From f35514c36eecc3bd6c045e6cb8021ef455738f29 Mon Sep 17 00:00:00 2001 From: Chris Kuethe Date: Tue, 6 Jan 2009 16:54:11 +0000 Subject: fix format warning --- isgps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'isgps.c') diff --git a/isgps.c b/isgps.c index 80d45029..1158d7f7 100644 --- a/isgps.c +++ b/isgps.c @@ -209,17 +209,17 @@ enum isgpsstat_t isgps_decode(struct gps_packet_t *session, } else { session->isgps.curr_word |= c >> -(session->isgps.curr_offset); } - gpsd_report(ISGPS_ERRLEVEL_BASE+2, "ISGPS syncing at byte %d: %0x%08x\n", session->char_counter, session->isgps.curr_word); + gpsd_report(ISGPS_ERRLEVEL_BASE+2, "ISGPS syncing at byte %lu: 0x%08x\n", session->char_counter, session->isgps.curr_word); if (preamble_match(&session->isgps.curr_word)) { if (isgps_parityok(session->isgps.curr_word)) { - gpsd_report(ISGPS_ERRLEVEL_BASE+1, + gpsd_report(ISGPS_ERRLEVEL_BASE+1, "ISGPS preamble ok, parity ok -- locked\n"); session->isgps.locked = true; /* session->isgps.curr_offset; XXX - testing */ break; } - gpsd_report(ISGPS_ERRLEVEL_BASE+1, + gpsd_report(ISGPS_ERRLEVEL_BASE+1, "ISGPS preamble ok, parity fail\n"); } session->isgps.curr_offset++; -- cgit v1.2.1