]> granicus.if.org Git - sudo/commitdiff
nicer output when showing auth methods
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 28 Aug 1999 09:22:47 +0000 (09:22 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 28 Aug 1999 09:22:47 +0000 (09:22 +0000)
version.c

index 45a8303d6164eadecc020a1d21decae91321758b..30bdb0cbd9c9416a9835aee8bf025278f4624107 100644 (file)
--- a/version.c
+++ b/version.c
@@ -88,10 +88,8 @@ print_version()
 #endif
 
        (void) fputs("Authentication methods:", stdout);
-       for (auth = auth_switch; auth->name; auth++) {
-           (void) putchar(' ');
-           (void) fputs(auth->name, stdout);
-       }
+       for (auth = auth_switch; auth->name; auth++)
+           (void) printf(" '%s'", auth->name);
        (void) putchar('\n');
 
        (void) fputs("Logging:\n", stdout);