* kinit.c (ULINE): Invoke fprintf with correct number of arguments
authorEzra Peisach <epeisach@mit.edu>
Tue, 30 Jul 2002 21:17:29 +0000 (21:17 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 30 Jul 2002 21:17:29 +0000 (21:17 +0000)
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

src/clients/kinit/ChangeLog
src/clients/kinit/kinit.c

index 9ea8103940be0067f2bb4b516573213dc81d2c3c..7399f08dcdd3dfd6faf0c2025eb058d79347a170 100644 (file)
@@ -1,3 +1,8 @@
+2002-07-30  Ezra Peisach  <epeisach@bu.edu>
+
+       * 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 <jenselby@mit.edu>
 
        * kinit.M: added documentation of the "-a" option
index 8cee5db58ca646ed851af8b0b63296d818d9860e..824d20c5b4fbe41f1f27818a85e66b6fb2ae7b55 100644 (file)
@@ -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));