common: Log errors to stderr

As per syslog.h, all error values are less than LOG_WARNING hence we
should be writing those to stderr instead of stdout.

Change-Id: I294dc8ccc9a3cd1c675b0ce733243c68215a654d
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
diff --git a/common.c b/common.c
index a5f6700..eb0362c 100644
--- a/common.c
+++ b/common.c
@@ -19,7 +19,7 @@
 void mbox_log_console(int p, const char *fmt, va_list args)
 {
 	struct timespec time;
-	FILE *s = (p < LOG_WARNING) ? stdout : stderr;
+	FILE *s = (p < LOG_WARNING) ? stderr : stdout;
 
 	clock_gettime(CLOCK_REALTIME, &time);