From: Kaj-Michael Lang Date: Fri, 7 Mar 2008 11:08:34 +0000 (+0200) Subject: Fix silly typos X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02283af3f66d47844c41f25c7a35694060cdf84f;p=mapper Fix silly typos --- diff --git a/src/gps.c b/src/gps.c index b72b4be..80bfd38 100644 --- a/src/gps.c +++ b/src/gps.c @@ -515,12 +515,12 @@ switch (gps->io.type) { /* Force correct gpsd binary */ setenv ("GPSD_PROG", "/usr/sbin/gpsd", 1); - memset(&ctx, 0, sizeof(ctx)) - memset(&errbuf, 0, sizeof(errbuf)) + memset(&ctx, 0, sizeof(ctx)); + memset(&errbuf, 0, sizeof(errbuf)); errno=0; - if (gpsbt_start(NULL, 0, 0, 0, errbuf, sizeof(errbuf), 0, &ctx)!=0) - g_warning("Failed to start gpsd: %d (%s) %s\n", errno, strerror(errno), errbuff); + if (gpsbt_start(NULL, 0, 0, 0, errbuf, sizeof(errbuf), 0, &ctx)!=0) { + g_warning("Failed to start gpsd: %d (%s) %s\n", errno, strerror(errno), errbuf); return FALSE; } else { g_debug("Waiting for gpsd");