]> granicus.if.org Git - sudo/commitdiff
print long skey challemged to stderr, not stdout
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Sep 1996 21:19:55 +0000 (21:19 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Sep 1996 21:19:55 +0000 (21:19 +0000)
check.c

diff --git a/check.c b/check.c
index f71d6227dbd257d806ae2ac97efa405f470dd81d..35a6ee3ad61a22b9e1b3344729e0536bbdb6916c 100644 (file)
--- a/check.c
+++ b/check.c
@@ -696,7 +696,7 @@ static char *sudo_skeyprompt(user_skey, p)
 
 #ifdef LONG_SKEY_PROMPT
     /* separate s/key challenge and prompt for easy snarfing */
-    (void) printf("key %d %s\n", user_skey->n - 1, user_skey->seed);
+    (void) fprintf(stderr, "key %d %s\n", user_skey->n - 1, user_skey->seed);
 
     /* return old prompt unmolested */
     return(p);