aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2011-09-22 17:01:31 +0200
committerHenrik Nord <[email protected]>2011-09-22 17:01:35 +0200
commit7c11b3f7a00a18fb11918a57ee1d6597ced97a07 (patch)
treedb128fa8a27ed59fcb3288af1fc7c89cf6b7c943 /lib/compiler/src
parentfe392020c0a30054fbc62adf8e0db8d996b3b8b6 (diff)
parent347dfb022195994a368ff12f8d009b7263044f50 (diff)
downloadotp-7c11b3f7a00a18fb11918a57ee1d6597ced97a07.tar.gz
otp-7c11b3f7a00a18fb11918a57ee1d6597ced97a07.tar.bz2
otp-7c11b3f7a00a18fb11918a57ee1d6597ced97a07.zip
Merge branch 'hl/beam_disasm-no_attri_chunk' into dev
* hl/beam_disasm-no_attri_chunk: beam_disasm: Handle stripped BEAM files OTP-9571
Diffstat (limited to 'lib/compiler/src')
-rw-r--r--lib/compiler/src/beam_disasm.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/beam_disasm.erl b/lib/compiler/src/beam_disasm.erl
index 017ca129b0..bb62bb04b3 100644
--- a/lib/compiler/src/beam_disasm.erl
+++ b/lib/compiler/src/beam_disasm.erl
@@ -204,7 +204,7 @@ process_chunks(F) ->
optional_chunk(F, ChunkTag) ->
case beam_lib:chunks(F, [ChunkTag]) of
{ok,{_Module,[{ChunkTag,Chunk}]}} -> Chunk;
- {error,beam_lib,{missing_chunk,_,ChunkTag}} -> none
+ {error,beam_lib,{missing_chunk,_,_}} -> none
end.
%%-----------------------------------------------------------------------