aboutsummaryrefslogtreecommitdiff
path: root/nscd/dbg_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/dbg_log.c')
-rw-r--r--nscd/dbg_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/dbg_log.c b/nscd/dbg_log.c
index 21997cd..6925259 100644
--- a/nscd/dbg_log.c
+++ b/nscd/dbg_log.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 1998 Free Software Foundation, Inc.
+/* Copyright (c) 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1998.
@@ -61,7 +61,7 @@ dbg_log (const char *fmt,...)
else
{
snprintf (msg, sizeof (msg), "%d: %s", getpid (), msg2);
- syslog (LOG_NOTICE, msg);
+ syslog (LOG_NOTICE, "%s", msg);
}
va_end (ap);
}