aboutsummaryrefslogtreecommitdiffstats
path: root/mkdep
diff options
context:
space:
mode:
Diffstat (limited to 'mkdep')
-rwxr-xr-xmkdep4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkdep b/mkdep
index 05b3aa14b..94e6e482a 100755
--- a/mkdep
+++ b/mkdep
@@ -82,9 +82,9 @@ umask $um
trap 'rm -rf $DTMP ; trap 2 ; kill -2 $$' 1 2 3 13 15
if [ x$pflag = x ]; then
- ${CC:-cc} -M "$@" | sed -e 's; \./; ;g' > $TMP
+ ${CC:-cc} -M "$@" 2>/dev/null | sed -e 's; \./; ;g' > $TMP
else
- ${CC:-cc} -M "$@" | sed -e 's;\.o :; :;' -e 's; \./; ;g' > $TMP
+ ${CC:-cc} -M "$@" 2>/dev/null | sed -e 's;\.o :; :;' -e 's; \./; ;g' > $TMP
fi
if [ $? != 0 ]; then