diff options
author | Björn Gustavsson <[email protected]> | 2010-02-11 13:01:33 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-02-11 13:01:33 +0000 |
commit | 94a5a2832200fa5061d31e64c0eb8315c3215e0a (patch) | |
tree | 8bc7dfa70acf6c233bbe04e8196ca2abdfceeba5 /lib/tools/src | |
parent | 75bc5e521dcc9ab798acefb5400f5f15354f08fd (diff) | |
download | otp-94a5a2832200fa5061d31e64c0eb8315c3215e0a.tar.gz otp-94a5a2832200fa5061d31e64c0eb8315c3215e0a.tar.bz2 otp-94a5a2832200fa5061d31e64c0eb8315c3215e0a.zip |
OTP-8430: tools: xref_SUITE updated
Diffstat (limited to 'lib/tools/src')
-rw-r--r-- | lib/tools/src/xref_utils.erl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/tools/src/xref_utils.erl b/lib/tools/src/xref_utils.erl index aeb7bf9f1c..680b7e8aac 100644 --- a/lib/tools/src/xref_utils.erl +++ b/lib/tools/src/xref_utils.erl @@ -1,19 +1,19 @@ %% %% %CopyrightBegin% -%% -%% Copyright Ericsson AB 2000-2009. All Rights Reserved. -%% +%% +%% Copyright Ericsson AB 2000-2010. All Rights Reserved. +%% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in %% compliance with the License. You should have received a copy of the %% Erlang Public License along with this software. If not, it can be %% retrieved online at http://www.erlang.org/. -%% +%% %% Software distributed under the License is distributed on an "AS IS" %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %% the License for the specific language governing rights and limitations %% under the License. -%% +%% %% %CopyrightEnd% %% -module(xref_utils). @@ -453,7 +453,8 @@ find_beam(Module) when is_atom(Module) -> non_existing -> error({no_such_module, Module}); preloaded -> - {_M, _Bin, File} = code:get_object_code(Module), + {Module, {_M, _Bin, File}} = + {Module, code:get_object_code(Module)}, {ok, File}; cover_compiled -> error({cover_compiled, Module}); |