patches/glibc/ports-2.13/650-syslog.patch
author "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Mon Dec 12 20:24:05 2011 +0100 (2011-12-12)
branch1.13
changeset 2846 f634ec0447cd
permissions -rw-r--r--
binutils/binutils: fix extra config array variable name

The changeset 2467 #200836977ce6 missed renaming one occurrence of
CT_BINUTILS_EXTRA_CONFIG to CT_BINUTILS_EXTRA_CONFIG_ARRAY, which is fixed by
this patch.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
(transplanted from 8946dd980d9e6c3da3b8f63fe7e35f4af94acf2f)
yann@2438
     1
diff -durN glibc-cvs-2.9.orig/misc/syslog.c glibc-cvs-2.9/misc/syslog.c
yann@2438
     2
--- glibc-cvs-2.9.orig/misc/syslog.c	2009-06-01 10:16:50.000000000 +0200
yann@2438
     3
+++ glibc-cvs-2.9/misc/syslog.c	2009-06-01 10:17:20.000000000 +0200
yann@2438
     4
@@ -152,7 +152,7 @@
yann@2438
     5
 #define	INTERNALLOG	LOG_ERR|LOG_CONS|LOG_PERROR|LOG_PID
yann@2438
     6
 	/* Check for invalid bits. */
yann@2438
     7
 	if (pri & ~(LOG_PRIMASK|LOG_FACMASK)) {
yann@2438
     8
-		syslog(INTERNALLOG,
yann@2438
     9
+		__syslog(INTERNALLOG,
yann@2438
    10
 		    "syslog: unknown facility/priority: %x", pri);
yann@2438
    11
 		pri &= LOG_PRIMASK|LOG_FACMASK;
yann@2438
    12
 	}