diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-12-03 12:16:54 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-12-03 12:16:54 +0000 |
commit | caccce6a1f0bee322fe569bba47ff533e3727c06 (patch) | |
tree | d76ffa587bf7c38e87134524dba6000bc728ab24 /ext | |
parent | ce43db9bedd4c6999381bd25cfc0127c2b615272 (diff) | |
download | perl-caccce6a1f0bee322fe569bba47ff533e3727c06.tar.gz |
Missing chunk in change #26247.
p4raw-link: @26247 on //depot/perl: ce43db9bedd4c6999381bd25cfc0127c2b615272
p4raw-id: //depot/perl@26248
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Sys/Syslog/Syslog.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/Sys/Syslog/Syslog.pm b/ext/Sys/Syslog/Syslog.pm index 4f06357d35..d06ac17de6 100644 --- a/ext/Sys/Syslog/Syslog.pm +++ b/ext/Sys/Syslog/Syslog.pm @@ -69,9 +69,9 @@ B<You should use openlog() before calling syslog().> =item syslog $priority, $format, @args -If I<$priority> permits, logs I<($format, @args)> -printed as by C<printf(3V)>, with the addition that I<%m> -is replaced with C<"$!"> (the latest error message). +If I<$priority> permits, logs I<$message> or I<sprintf($format, @args)> +with the addition that I<%m> in $message or $format is replaced with +C<"$!"> (the latest error message). If you didn't use openlog() before using syslog(), syslog will try to guess the I<$ident> by extracting the shortest prefix of I<$format> |