summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2011-09-28 21:44:42 +0200
committerTobi Oetiker <tobi@oetiker.ch>2011-09-28 21:44:42 +0200
commitc8936eaeaf0d642d66b48cd1cf126924725a8f48 (patch)
treef14caeaadea7244ef687a0eca048005a5a5c4bf6 /lib
parentb3c0fa34dd27dbe1fd89bc8dfd63705c5ea4e927 (diff)
downloadsmokeping-c8936eaeaf0d642d66b48cd1cf126924725a8f48.tar.gz
smokeping-c8936eaeaf0d642d66b48cd1cf126924725a8f48.tar.xz
add missing POSIX prefix
Diffstat (limited to 'lib')
-rw-r--r--lib/Smokeping.pm2
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