projects
/
ssic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d1bd00
)
Print warnings and errors on STDERR.
author
P. J. McDermott
<pjm@nac.net>
Mon, 23 Sep 2013 00:17:28 +0000
(20:17 -0400)
committer
P. J. McDermott
<pjm@nac.net>
Mon, 23 Sep 2013 00:17:28 +0000
(20:17 -0400)
src/ssic.pl
patch
|
blob
|
history
diff --git
a/src/ssic.pl
b/src/ssic.pl
index 2f3744e8a4e80310e87c135235a2e0037b559e26..ba8b184355519a7b115f0d2db13c70f28dbe2800 100755
(executable)
--- 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);
}