From 7ecdb267fcc7d5696789c42f8a97db3df9f51d2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 26 Jun 2008 03:55:03 +0000 Subject: [PATCH] Send newline from use to stderr, just like the prompt. From Ted Percival. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23326 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hcrypto/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hcrypto/ui.c b/lib/hcrypto/ui.c index 144f65b1f..53d3ca38d 100644 --- a/lib/hcrypto/ui.c +++ b/lib/hcrypto/ui.c @@ -116,7 +116,7 @@ read_string(const char *preprompt, const char *prompt, *p = 0; if(echo == 0){ - printf("\n"); + fprintf(stderr, "\n"); tcsetattr(fileno(tty), TCSANOW, &t_old); }