update LOG_ERR patch
-diff -Naur ndoutils-2.0.0.old/src/queue.c ndoutils-2.0.0/src/queue.c
---- ndoutils-2.0.0.old/src/queue.c 2014-04-16 09:46:08.838916916 +0200
-+++ ndoutils-2.0.0/src/queue.c 2014-04-16 09:47:32.853185630 +0200
-@@ -77,7 +77,7 @@
+--- ndoutils-2.1.2/src/queue.c 2016-11-14 11:23:05.000000000 -0800
++++ ndoutils-2.1.2.patch/src/queue.c 2017-04-04 13:36:39.000000000 -0700
+@@ -99,7 +99,7 @@
if(msgctl(queue_id, IPC_STAT, &queue_stats)) {
sprintf(curstats, "Unable to determine current message queue usage: error reading IPC_STAT: %d", errno);
sprintf(logmsg, logfmt, curstats);
@@ -10,7 +9,7 @@ diff -Naur ndoutils-2.0.0.old/src/queue.c ndoutils-2.0.0/src/queue.c
}
else {
#if defined( __linux__)
-@@ -86,18 +86,18 @@
+@@ -108,18 +108,18 @@
if( msgmni < 0) {
sprintf(curstats, "Unable to determine current message queue usage: error reading IPC_INFO: %d", errno);
sprintf(logmsg, logfmt, curstats);
