diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-01-29 17:32:11 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-01-29 17:32:11 +0000 |
commit | 8fdaf3f2883171c3af1aa54a27fa9a7052602ad7 (patch) | |
tree | a5db8d96c342c87013f2119e426e348a6ea224e8 /gpsctl.c | |
parent | db79a18ed231b19f119f46000974764082a0b21b (diff) | |
download | gpsd-8fdaf3f2883171c3af1aa54a27fa9a7052602ad7.tar.gz |
Splint cleanup.
Diffstat (limited to 'gpsctl.c')
-rw-r--r-- | gpsctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |