From 90d425f646cc30e880627e7168c834a7640ef65d Mon Sep 17 00:00:00 2001 From: "P. J. McDermott" Date: Sun, 22 Sep 2013 20:17:28 -0400 Subject: [PATCH] Print warnings and errors on STDERR. --- src/ssic.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.31.1