aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/mkdep/mkdep.gcc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mkdep/mkdep.gcc.sh b/usr.bin/mkdep/mkdep.gcc.sh
index d822149c840b..f6a42605cd1d 100644
--- a/usr.bin/mkdep/mkdep.gcc.sh
+++ b/usr.bin/mkdep/mkdep.gcc.sh
@@ -63,7 +63,7 @@ while :
done
case $# in 0)
- echo 'usage: mkdep [-p] [-f depend_file] [cc_flags] file ...'
+ echo 'usage: mkdep [-ap] [-f file] [flags] file ...' >&2
exit 1;;
esac
@@ -80,7 +80,7 @@ echo "# $@" > $TMP # store arguments for debugging
if $MKDEP_CPP -M "$@" >> $TMP; then :
else
- echo 'mkdep: compile failed.'
+ echo 'mkdep: compile failed' >&2
exit 1
fi