summaryrefslogtreecommitdiff
path: root/lib/stdlib/src/erl_anno.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdlib/src/erl_anno.erl')
-rw-r--r--lib/stdlib/src/erl_anno.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/src/erl_anno.erl b/lib/stdlib/src/erl_anno.erl
index d0310f52e2..356417aa72 100644
--- a/lib/stdlib/src/erl_anno.erl
+++ b/lib/stdlib/src/erl_anno.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2017. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2023. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -361,7 +361,7 @@ anno_info(Anno, Item, Default) ->
Value
catch
_:_ ->
- erlang:error(badarg, [Anno])
+ erlang:error(badarg, [Anno, Item, Default])
end.
anno_info(Anno, Item) ->
@@ -372,7 +372,7 @@ anno_info(Anno, Item) ->
undefined
catch
_:_ ->
- erlang:error(badarg, [Anno])
+ erlang:error(badarg, [Anno, Item])
end.
end_location("", Line, Column) ->