From c8936eaeaf0d642d66b48cd1cf126924725a8f48 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Wed, 28 Sep 2011 19:44:42 +0000 Subject: add missing POSIX prefix --- lib/Smokeping.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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, <