From: P. J. McDermott Date: Mon, 23 Sep 2013 00:17:28 +0000 (-0400) Subject: Print warnings and errors on STDERR. X-Git-Tag: ssic/1.0.0~24 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=90d425f646cc30e880627e7168c834a7640ef65d;p=ssic.git Print warnings and errors on STDERR. --- diff --git a/src/ssic.pl b/src/ssic.pl index 2f3744e..ba8b184 100755 --- a/src/ssic.pl +++ b/src/ssic.pl @@ -105,14 +105,14 @@ sub warning { my ($fmt, @args) = @_; - printf("ssic: Warning: " . $fmt, @args); + printf(STDERR "ssic: Warning: " . $fmt, @args); } sub error { my ($status, $fmt, @args) = @_; - printf("ssic: Error: " . $fmt, @args); + printf(STDERR "ssic: Error: " . $fmt, @args); exit($status); }