diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2011-09-28 21:44:42 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2011-09-28 21:44:42 +0200 |
commit | c8936eaeaf0d642d66b48cd1cf126924725a8f48 (patch) | |
tree | f14caeaadea7244ef687a0eca048005a5a5c4bf6 /lib | |
parent | b3c0fa34dd27dbe1fd89bc8dfd63705c5ea4e927 (diff) | |
download | smokeping-c8936eaeaf0d642d66b48cd1cf126924725a8f48.tar.gz smokeping-c8936eaeaf0d642d66b48cd1cf126924725a8f48.tar.xz |
add missing POSIX prefix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Smokeping.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 00375dc..d0fabd1 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -1916,7 +1916,7 @@ DOC RTT => $rtt, COMMENT => $alert->{comment} },$default_mail) || "Subject: smokeping failed to open mailtemplate '$alert->{mailtemplate}'\n\nsee subject\n"; - my $rfc2822stamp = strftime("%a, %e %b %Y %H:%M:%S %z", @stamp); + my $rfc2822stamp = POSIX::strftime("%a, %e %b %Y %H:%M:%S %z", @stamp); my $to = join ",",@to; sendmail $cfg->{Alerts}{from},$to, <<ALERT; To: $to |