diff --git a/bin/9c b/bin/9c index c320d946..9129315b 100755 --- a/bin/9c +++ b/bin/9c @@ -45,8 +45,8 @@ esac case "$tag" in *SunOS*-cc) - exec $cc -I$PLAN9/include $cflags "$@" | - /bin/sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' + exec $cc -I$PLAN9/include $cflags "$@" 2>&1 | + /bin/sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' 1>&2 ;; *) exec $cc -I$PLAN9/include $cflags "$@"