summaryrefslogtreecommitdiff
path: root/kasetkey
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2008-04-07 20:56:54 +0000
committerRuss Allbery <rra@stanford.edu>2008-04-07 20:56:54 +0000
commitb6903943d096423a9ed216ecd7da117145e41961 (patch)
treee425adcb4bf0d53d1ce2cbf4d9a1274ee0fac479 /kasetkey
parentd366186121d4488df5ddc7ec26d863c6eee30412 (diff)
Print out version information with a hard-coded kasetkey instead of
using argv[0].
Diffstat (limited to 'kasetkey')
-rw-r--r--kasetkey/kasetkey.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kasetkey/kasetkey.c b/kasetkey/kasetkey.c
index 7d94db0..6a8a35c 100644
--- a/kasetkey/kasetkey.c
+++ b/kasetkey/kasetkey.c
@@ -528,7 +528,6 @@ main(int argc, char *argv[])
/* Initialize, get our local cell, etc. */
memset(&config, 0, sizeof(config));
- program = argv[0];
code = ka_Init(0);
config.local_cell = ka_LocalCell();
if (config.local_cell == NULL || code != 0)
@@ -555,7 +554,7 @@ main(int argc, char *argv[])
case 'h':
usage(0);
case 'v':
- printf("%s: version %s\n", program, PACKAGE_VERSION);
+ printf("kasetkey %s\n", PACKAGE_VERSION);
exit(0);
default:
usage(1);