diff options
author | P. J. McDermott <pjm@nac.net> | 2013-09-22 15:07:48 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-09-22 15:07:48 (EDT) |
commit | 6ada252e60e6e9904764eeff808e7b0a265840ca (patch) | |
tree | 458e205a7d6b5dfd33dba9e978ed4ecaf515f522 | |
parent | 87ad3d52c3d06311e0fdd87dc654408ee746c45c (diff) | |
download | ssic-6ada252e60e6e9904764eeff808e7b0a265840ca.zip ssic-6ada252e60e6e9904764eeff808e7b0a265840ca.tar.gz ssic-6ada252e60e6e9904764eeff808e7b0a265840ca.tar.bz2 |
Fix printf argument lists.
-rw-r--r-- | src/ssic.pl | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |