macho-dump: Fix typo.
[oota-llvm.git] / test / Scripts / macho-dump
index 8c9fa59c601060815b6a56c14fd40e31b789aae5..71e06d837b90f0945356ff73af5f9580bc36dfd2 100755 (executable)
@@ -82,7 +82,7 @@ def dumpmacho(path, opts):
    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