diff options
-rw-r--r-- | subx/012elf.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/012elf.cc b/subx/012elf.cc index 2e10246e..28064a1e 100644 --- a/subx/012elf.cc +++ b/subx/012elf.cc @@ -12,8 +12,8 @@ if (is_equal(argv[1], "run")) { load_elf(argv[2], argc, argv); while (EIP < End_of_program) // weak final-gasp termination check run_one_instruction(); - trace(90, "load") << "executed past end of the world: " << EIP << " vs " << End_of_program << end(); - return 0; + raise << "executed past end of the world: " << EIP << " vs " << End_of_program << '\n' << end(); + return 1; } :(code) |