From: Todd C. Miller Date: Sat, 28 Aug 1999 09:22:47 +0000 (+0000) Subject: nicer output when showing auth methods X-Git-Tag: SUDO_1_6_0~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55e31d781bc641da06e6d8d9a82f56dbbbc37d9e;p=sudo nicer output when showing auth methods --- diff --git a/version.c b/version.c index 45a8303d6..30bdb0cbd 100644 --- 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);