diff options
author | 2002-07-02 01:59:42 +0000 | |
---|---|---|
committer | 2002-07-02 01:59:42 +0000 | |
commit | dce02d224e89de8d8be75ac5b980d3b4daa0ec7a (patch) | |
tree | aeb97d67a2b430fb03cb02cfdd7a483d96bab567 /lib/libc | |
parent | Kill setjmp/longjmp from a signal handler. All we really need is (diff) | |
download | wireguard-openbsd-dce02d224e89de8d8be75ac5b980d3b4daa0ec7a.tar.xz wireguard-openbsd-dce02d224e89de8d8be75ac5b980d3b4daa0ec7a.zip |
missing priority argument in example; ok millert@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/syslog.3 | 4 |
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 |