diff options
author | Matt Johnston <matt@ucc.asn.au> | 2006-04-01 12:09:46 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2006-04-01 12:09:46 +0000 |
commit | 2a7924bdb9b492e78e01b6681b71e47d5db397f0 (patch) | |
tree | 0d436502ec265ff14d5a4f58eb4b5c8b351291bc | |
parent | d6d67025fce029d66bc0aee1002851dd4a0e4531 (diff) | |
download | dropbear-ucc-axis-hack.tar.gz |
dropbear_log to stderr since it works nowucc-axis-hack
-rw-r--r-- | dbutil.c | 2 | ||||
-rw-r--r-- | svr-session.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -121,7 +121,7 @@ static void generic_dropbear_log(int UNUSED(priority), const char* format, vsnprintf(printbuf, sizeof(printbuf), format, param); - printf( "%s\n", printbuf); + fprintf( stderr, "%s\n", printbuf); } diff --git a/svr-session.c b/svr-session.c index 193cdc8..3ca0adb 100644 --- a/svr-session.c +++ b/svr-session.c @@ -188,7 +188,7 @@ void svr_dropbear_log(int priority, const char* format, va_list param) { datestr[0] = '?'; datestr[1] = '\0'; } #endif - printf( "[%d] %d %s\n", getpid(), timesec, printbuf); + fprintf( stderr, "[%d] %d %s\n", getpid(), timesec, printbuf); } } |