From: Ben Pfaff Date: Wed, 17 May 2006 21:51:50 +0000 (+0000) Subject: Fix typo. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00b0929dd45d65342c83103a7f5201f9b094c99c;p=pintos-anon Fix typo. --- diff --git a/src/utils/backtrace b/src/utils/backtrace index 4d08316..95e422f 100755 --- a/src/utils/backtrace +++ b/src/utils/backtrace @@ -83,7 +83,7 @@ for my $bin (@binaries) { my ($cur_binary); for my $loc (@locs) { if (defined ($loc->{BINARY}) - && @binaries > 0 + && @binaries > 1 && (!defined ($cur_binary) || $loc->{BINARY} ne $cur_binary)) { $cur_binary = $loc->{BINARY}; print "In $cur_binary:\n";