aboutsummaryrefslogtreecommitdiffstats
path: root/man3/syslog.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/syslog.3')
-rw-r--r--man3/syslog.310
1 files changed, 6 insertions, 4 deletions
diff --git a/man3/syslog.3 b/man3/syslog.3
index 82a0b1f8d7..8138d648fe 100644
--- a/man3/syslog.3
+++ b/man3/syslog.3
@@ -350,10 +350,12 @@ Most portable is to use a string constant.
.PP
Never pass a string with user-supplied data as a format,
use the following instead:
-.nf
-
- syslog(priority, "%s", string);
-.fi
+.PP
+.in +4n
+.EX
+syslog(priority, "%s", string);
+.EE
+.in
.SH SEE ALSO
.BR logger (1),
.BR journalctl (1),