Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/lc3sim.c b/lc3sim.c 2index dac7f7a..736fd7c 100644 3--- a/lc3sim.c 4+++ b/lc3sim.c 5@@ -665,14 +665,14 @@ init_machine () 6 bzero (lc3_sym_hash, sizeof (lc3_sym_hash)); 7 clear_all_breakpoints (); 8 9- if (read_obj_file (INSTALL_DIR "/lc3os.obj", &os_start, &os_end) == -1) { 10+ if (read_obj_file (INSTALL_DIR "/share/lc3tools/lc3os.obj", &os_start, &os_end) == -1) { 11 if (gui_mode) 12 puts ("ERR {Failed to read LC-3 OS code.}"); 13 else 14 puts ("Failed to read LC-3 OS code."); 15 show_state_if_stop_visible (); 16 } else { 17- if (read_sym_file (INSTALL_DIR "/lc3os.sym") == -1) { 18+ if (read_sym_file (INSTALL_DIR "/share/lc3tools/lc3os.sym") == -1) { 19 if (gui_mode) 20 puts ("ERR {Failed to read LC-3 OS symbols.}"); 21 else