From: Ezra Peisach Date: Tue, 30 Jul 2002 21:17:29 +0000 (+0000) Subject: * kinit.c (ULINE): Invoke fprintf with correct number of arguments X-Git-Tag: krb5-1.3-alpha1~546 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e1cea90707191fd5fc56ed69d8238f46662bd8de;p=krb5.git * kinit.c (ULINE): Invoke fprintf with correct number of arguments depending on if V4 support is compiled in or not. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14673 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/kinit/ChangeLog b/src/clients/kinit/ChangeLog index 9ea810394..7399f08dc 100644 --- a/src/clients/kinit/ChangeLog +++ b/src/clients/kinit/ChangeLog @@ -1,3 +1,8 @@ +2002-07-30 Ezra Peisach + + * kinit.c (ULINE): Invoke fprintf with correct number of arguments + depending on if V4 support is compiled in or not. + 2002-07-17 Jen Selby * kinit.M: added documentation of the "-a" option diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c index 8cee5db58..824d20c5b 100644 --- a/src/clients/kinit/kinit.c +++ b/src/clients/kinit/kinit.c @@ -236,12 +236,13 @@ usage(progname) #ifdef KRB5_KRB4_COMPAT #define USAGE_OPT_FMT "%s%-50s%s\n" +#define ULINE(indent, col1, col2) \ +fprintf(stderr, USAGE_OPT_FMT, indent, col1, col2) #else #define USAGE_OPT_FMT "%s%s\n" -#endif - #define ULINE(indent, col1, col2) \ -fprintf(stderr, USAGE_OPT_FMT, indent, col1, col2) +fprintf(stderr, USAGE_OPT_FMT, indent, col1) +#endif ULINE(" ", "options:", "valid with Kerberos:"); fprintf(stderr, "\t-5 Kerberos 5 (%s)\n", KRB_AVAIL_STRING(got_k5));