summaryrefslogtreecommitdiff
path: root/gpsctl.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-01-29 17:32:11 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-01-29 17:32:11 +0000
commit8fdaf3f2883171c3af1aa54a27fa9a7052602ad7 (patch)
treea5db8d96c342c87013f2119e426e348a6ea224e8 /gpsctl.c
parentdb79a18ed231b19f119f46000974764082a0b21b (diff)
downloadgpsd-8fdaf3f2883171c3af1aa54a27fa9a7052602ad7.tar.gz
Splint cleanup.
Diffstat (limited to 'gpsctl.c')
-rw-r--r--gpsctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsctl.c b/gpsctl.c
index cac0e52f..4f03b7fe 100644
--- a/gpsctl.c
+++ b/gpsctl.c
@@ -152,7 +152,7 @@ int main(int argc, char **argv)
(void)fputs("-[bn]\t", stdout);
else
(void)fputc('\t', stdout);
- if ((*dp)->control_send != NULL || !strcmp((*dp)->type_name, "uBlox UBX binary"))
+ if ((*dp)->control_send != NULL || strcmp((*dp)->type_name, "uBlox UBX binary")==0)
(void)fputs("-c\t", stdout);
else
(void)fputc('\t', stdout);