]> gitweb.factorcode.org Git - factor.git/commitdiff
code_blocks: Same error message in two places, make it clear which is triggering.
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 7 May 2014 21:02:14 +0000 (14:02 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 7 May 2014 21:02:14 +0000 (14:02 -0700)
vm/code_blocks.cpp

index e3117e3fb5e6ac0ef30dbb9e5e1aabc42ff58654..bb993f1ff420c1bde13e35529d5b822dcf192ffb 100644 (file)
@@ -186,7 +186,7 @@ cell factor_vm::compute_dlsym_address(array* parameters, cell index) {
       return (cell)undefined_symbol;
     }
     default:
-      critical_error("Bad symbol specifier", symbol);
+      critical_error("Bad symbol specifier in compute_dlsym_address", symbol);
       return (cell)undefined_symbol;
   }
 }
@@ -224,7 +224,7 @@ cell factor_vm::compute_dlsym_toc_address(array* parameters, cell index) {
       return (cell)undefined_toc;
     }
     default:
-      critical_error("Bad symbol specifier", symbol);
+      critical_error("Bad symbol specifier in compute_dlsym_toc_address", symbol);
       return (cell)undefined_toc;
   }
 }