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.
authorDave Mitchell <davem@fdisolutions.com>
Wed, 20 Apr 2005 23:35:54 +0000 (23:35 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Wed, 20 Apr 2005 23:35:54 +0000 (23:35 +0000)
p4raw-id: //depot/perl@24267

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();