c16e051e69
(Also don't put several patches in a single file.) Approved by: sergei Obtained from: upstream Reported by: Ulf Harnhammar <Ulf.Harnhammar.9485@student.uu.se>
14 lines
364 B
C
14 lines
364 B
C
|
|
$FreeBSD$
|
|
|
|
--- src/errs.c.orig Wed Dec 4 22:42:02 2002
|
|
+++ src/errs.c Sun Mar 7 15:10:48 2004
|
|
@@ -51,7 +51,7 @@
|
|
if (options.slogfile)
|
|
filelog(options.slogfile, txt);
|
|
else
|
|
- syslog(LOG_ERR | LOG_MAIL, txt);
|
|
+ syslog(LOG_ERR | LOG_MAIL, "%s", txt);
|
|
|
|
if (options.ulogfile && options.uloglevel >= FAILS)
|
|
filelog(options.ulogfile, txt);
|