summaryrefslogtreecommitdiff
path: root/usr/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/tools')
-rw-r--r--usr/src/tools/scripts/check_rtime.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/tools/scripts/check_rtime.pl b/usr/src/tools/scripts/check_rtime.pl
index 5abbd490d3..363ca62af0 100644
--- a/usr/src/tools/scripts/check_rtime.pl
+++ b/usr/src/tools/scripts/check_rtime.pl
@@ -471,7 +471,7 @@ sub ProcFile {
next;
}
# Look for any unused dependencies.
- if ($UnDep && ($Line =~ /unused/)) {
+ if ($UnDep && ($Line =~ /unused .+=/)) {
# Skip if object is allowed to have unused dependencies
next if defined($EXRE_unused_deps) &&
($RelPath =~ $EXRE_unused_deps);