aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2005-04-23 14:54:30 +0000
committerMichael Brown <mcb30@etherboot.org>2005-04-23 14:54:30 +0000
commitd94cb571434ab1339a7906893826f744327cb826 (patch)
tree6474fbbb4c437321a2ec9a1e4aff14b00273c67b /src/util
parent9dc7ebc152f36bcd6b3089adfa2f6deeaea16aff (diff)
downloadipxe-d94cb571434ab1339a7906893826f744327cb826.zip
ipxe-d94cb571434ab1339a7906893826f744327cb826.tar.gz
ipxe-d94cb571434ab1339a7906893826f744327cb826.tar.bz2
Fixed to properly catch multiply defined symbols.
Diffstat (limited to 'src/util')
-rwxr-xr-xsrc/util/symcheck.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/symcheck.pl b/src/util/symcheck.pl
index 0639886..5fb3c95 100755
--- a/src/util/symcheck.pl
+++ b/src/util/symcheck.pl
@@ -39,7 +39,7 @@ while ( ( my $symbol, my $info ) = each %$symbols ) {
$problems->{$_}->{nonexistent}->{$symbol} = 1 foreach @requires;
} elsif ( @provides > 1 ) {
# Symbol defined in multiple objects
- $problems->{$_}->{multiples}->{$symbol} = 1 foreach @requires;
+ $problems->{$_}->{multiples}->{$symbol} = 1 foreach @provides;
}
if ( @requires == 0 ) {
# Symbol not required