summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2002-07-02 01:59:43 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2002-07-02 01:59:43 +0000
commitab75077b9242b40a57f169acff8c59e7e96320d8 (patch)
tree7226f827805772fe2436d4daee38800b98d25ac8 /lib/libc/gen
parent2f303e60026a1506f769551722b98f83c9089935 (diff)
missing priority argument in example; ok millert@
Diffstat (limited to 'lib/libc/gen')
-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