summaryrefslogtreecommitdiff
path: root/ntpshmmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpshmmon.c')
-rw-r--r--ntpshmmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ntpshmmon.c b/ntpshmmon.c
index 8a3b5321..56d7a66f 100644
--- a/ntpshmmon.c
+++ b/ntpshmmon.c
@@ -53,8 +53,8 @@ int main(int argc, char **argv)
verbose = true;
break;
case 'V':
- (void)fprintf(stderr, "version %s (revision %s)\n",
- VERSION, REVISION);
+ (void)fprintf(stderr, "%s: version %s (revision %s)\n",
+ argv[0], VERSION, REVISION);
exit(EXIT_SUCCESS);
case 'h':
default: