This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In change 24266 I failed to actually change anything. Sigh.
[perl5.git] / ext / Sys / Syslog / Syslog.pm
index 7776cb2..f38238b 100644 (file)
@@ -115,7 +115,7 @@ Note that C<openlog> now takes three arguments, just like C<openlog(3)>.
 =head1 EXAMPLES
 
     openlog($program, 'cons,pid', 'user');
-    syslog('info', 'this is another test');
+    syslog('info', '%s', 'this is another test');
     syslog('mail|warning', 'this is a better test: %d', time);
     closelog();