diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-06-08 17:00:22 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-06-08 17:00:22 +0200 |
commit | 18d74eec0a6035cadb97e6df381835682250a134 (patch) | |
tree | 5094cff728debec7828629ebd2500bf423d8ac76 /lib/kernel/src | |
parent | a0625d1c15b9a475b4e2929843d57030d9b0c9b7 (diff) | |
download | otp-18d74eec0a6035cadb97e6df381835682250a134.tar.gz otp-18d74eec0a6035cadb97e6df381835682250a134.tar.bz2 otp-18d74eec0a6035cadb97e6df381835682250a134.zip |
kernel: Add module name to sticky_dir error message
Diffstat (limited to 'lib/kernel/src')
-rw-r--r-- | lib/kernel/src/code_server.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/code_server.erl b/lib/kernel/src/code_server.erl index 819554ce74..b11a1974e5 100644 --- a/lib/kernel/src/code_server.erl +++ b/lib/kernel/src/code_server.erl @@ -1256,7 +1256,7 @@ try_load_module(File, Mod, Bin, {From,_}=Caller, St0) -> try_load_module_1(File, Mod, Bin, Caller, #state{moddb=Db}=St) -> case is_sticky(Mod, Db) of true -> %% Sticky file reject the load - error_msg("Can't load module that resides in sticky dir\n",[]), + error_msg("Can't load module '~w' that resides in sticky dir\n",[Mod]), {reply,{error,sticky_directory},St}; false -> case catch load_native_code(Mod, Bin) of |