macho-dump: Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120185 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Scripts/macho-dump b/test/Scripts/macho-dump
index 8c9fa59..71e06d8 100755
--- a/test/Scripts/macho-dump
+++ b/test/Scripts/macho-dump
@@ -82,7 +82,7 @@
print "('filetype', %r)" % filetype
numLoadCommands = f.read32()
- print "('num_load_commands', %r)" % filetype
+ print "('num_load_commands', %r)" % numLoadCommands
loadCommandsSize = f.read32()
print "('load_commands_size', %r)" % loadCommandsSize