obmc-console: Use warnx to report information

use warnx to exclude strerror the errno when provide information
warning.

Tested:
Journal message normal without print strerror
```
obmc-console-server: syslogid is not configured, not emit console log to syslog
```
Before the fix, it print the strerror of previous ignored error no.
```
obmc-console-server: syslogid is not configured, not emit console log to
syslog: Resource temporarily unavailable
```

http://fusion2/c5d26975-751d-3e19-b26c-bce9d856cf9b

Google-Bug-Id: 364358832
Change-Id: I5b10da088125cd193b15dc59eb87f85d5040e496
Signed-off-by: Dan Zhang <zhdaniel@google.com>
diff --git a/recipes-phosphor/console/obmc-console/0001-Add-syslog-handler.patch b/recipes-phosphor/console/obmc-console/0001-Add-syslog-handler.patch
index 775df9e..627ca81 100644
--- a/recipes-phosphor/console/obmc-console/0001-Add-syslog-handler.patch
+++ b/recipes-phosphor/console/obmc-console/0001-Add-syslog-handler.patch
@@ -1,7 +1,7 @@
-From 509ae06211e5ccae426b7d1c997779fc857328b1 Mon Sep 17 00:00:00 2001
+From 519776d4d291dd5655bd648ebfd0a5a48f08a82b Mon Sep 17 00:00:00 2001
 From: Dan Zhang <zhdaniel@google.com>
 Date: Mon, 20 May 2024 22:02:21 +0000
-Subject: [PATCH 1/3] Add syslog-handler
+Subject: [PATCH 1/5] Add syslog-handler
 
 Log the console data to syslog when syslogid configured.
 Will buffer small piece of data to avoid overwhelming the syslog with
@@ -33,7 +33,7 @@
             c_args: [
 diff --git a/syslog-handler.c b/syslog-handler.c
 new file mode 100644
-index 0000000..7d1603f
+index 0000000..b374683
 --- /dev/null
 +++ b/syslog-handler.c
 @@ -0,0 +1,227 @@
@@ -213,7 +213,7 @@
 +
 +	syslogid = config_get_value(config, "syslogid");
 +	if (syslogid == NULL) {
-+		warn("syslogid is not configured, not emit console log to syslog");
++		warnx("syslogid is not configured, not emit console log to syslog");
 +		return -1;
 +	}
 +
@@ -265,5 +265,5 @@
 +
 +console_handler_register(&syslog_handler.handler);
 -- 
-2.47.0.338.g60cca15819-goog
+2.48.1.502.g6dc24dfdaf-goog