ExternalLibraryFunction.st
changeset 24826 d73b54f3c744
parent 24825 363db976dea9
child 25087 6be980cf75e3
--- a/ExternalLibraryFunction.st	Wed Oct 09 17:32:36 2019 +0200
+++ b/ExternalLibraryFunction.st	Thu Oct 10 11:31:17 2019 +0200
@@ -1270,8 +1270,8 @@
         ^ self primitiveFailed:'libcomp:ObjectFileLoader is not available'.
     ].
 
-    (ObjectFileLoader notNil and:[ObjectFileLoader canLoadObjectFiles]) ifFalse:[
-        ObjectFileLoader::ObjectFileLoadError raiseErrorString:('ObjectFileLoader cannot load dll/module: "%1"' bindWith:nameString).
+    (ObjectFileLoader canLoadObjectFiles) ifFalse:[
+        ObjectFileLoader::ObjectFileLoadError raiseErrorString:('ObjectFileLoader cannot load dll/module: "%1"' bindWith:dllName).
         ^ nil.
     ].