summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-02 09:04:57 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-03-02 09:06:02 -0500
commit46278e05fb0394e57019240f75c18ed71b1bb375 (patch)
tree07f94320bca506111d609091c4e3f4aab384a561 /gpsmon.c
parent8868f9806fecf0be39b299e62534f685855c2653 (diff)
downloadgpsd-46278e05fb0394e57019240f75c18ed71b1bb375.tar.gz
Generqte -V messages in a uniform way.
All regression tests pass.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 106f3a1c..04739324 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -1228,7 +1228,7 @@ int main(int argc, char **argv)
}
exit(EXIT_SUCCESS);
case 'V':
- (void)printf("gpsmon: %s (revision %s)\n", VERSION, REVISION);
+ (void)printf("%s: %s (revision %s)\n", argv[0], VERSION, REVISION);
exit(EXIT_SUCCESS);
case 'l': /* enable logging at startup */
logfile = fopen(optarg, "w");