aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/code_server.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-06-08 17:00:22 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-06-08 17:00:22 +0200
commit18d74eec0a6035cadb97e6df381835682250a134 (patch)
tree5094cff728debec7828629ebd2500bf423d8ac76 /lib/kernel/src/code_server.erl
parenta0625d1c15b9a475b4e2929843d57030d9b0c9b7 (diff)
downloadotp-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/code_server.erl')
-rw-r--r--lib/kernel/src/code_server.erl2
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