summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/gen/syslog.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3
index fa3ff7b3999..0b97ce1fafa 100644
--- a/lib/libc/gen/syslog.3
+++ b/lib/libc/gen/syslog.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: syslog.3,v 1.17 2002/07/01 04:47:12 deraadt Exp $
+.\" $OpenBSD: syslog.3,v 1.18 2002/07/02 01:59:42 stevesk Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -394,7 +394,7 @@ for later interpolation by
.Pp
Always be sure to use the proper secure idiom:
.Bd -literal -offset indent
-syslog("%s", string);
+syslog(priority, "%s", string);
.Ed
.Pp
.Fn syslog_r