From: P. J. McDermott Date: Sun, 22 Sep 2013 19:07:48 +0000 (-0400) Subject: Fix printf argument lists. X-Git-Tag: ssic/1.0.0~35 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=6ada252e60e6e9904764eeff808e7b0a265840ca;p=ssic.git Fix printf argument lists. --- diff --git a/src/ssic.pl b/src/ssic.pl index 553f83d..db7a39f 100644 --- a/src/ssic.pl +++ b/src/ssic.pl @@ -86,16 +86,16 @@ sub version sub warning { - my ($fmt, $args) = @_; + my ($fmt, @args) = @_; - printf("ssic: Warning: " . $fmt, $args); + printf("ssic: Warning: " . $fmt, @args); } sub error { - my ($status, $fmt, $args) = @_; + my ($status, $fmt, @args) = @_; - printf("ssic: Error: " . $fmt, $args); + printf("ssic: Error: " . $fmt, @args); exit($status); }