From d74b32af7eb087084928bb774a74fe167aee5c98 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 30 Jul 2002 21:15:40 +0000 Subject: [PATCH] * kvno.c (do_v4_kvno): If not compiling with v4 support, xusage does not take any arguments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14672 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kvno/ChangeLog | 5 +++++ src/clients/kvno/kvno.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/clients/kvno/ChangeLog b/src/clients/kvno/ChangeLog index e87a80b32..77f1a2559 100644 --- a/src/clients/kvno/ChangeLog +++ b/src/clients/kvno/ChangeLog @@ -1,3 +1,8 @@ +2002-07-30 Ezra Peisach + + * kvno.c (do_v4_kvno): If not compiling with v4 support, xusage + does not take any arguments. + 2002-07-29 Jen Selby * kvno.M: added documentation of the "-q" and "-h" options. diff --git a/src/clients/kvno/kvno.c b/src/clients/kvno/kvno.c index 080e512e6..d007fa238 100644 --- a/src/clients/kvno/kvno.c +++ b/src/clients/kvno/kvno.c @@ -34,7 +34,7 @@ extern int optind; extern char *optarg; -char *prog; +static char *prog; static void xusage() { @@ -136,7 +136,7 @@ static void do_v4_kvno (int count, char *names[]) printf("%s: kvno = %d\n", names[i], creds.kvno); } #else - xusage(prog); + xusage(); #endif } -- 2.26.2