diff options
author | Micael Karlberg <[email protected]> | 2011-09-05 11:42:42 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-09-05 11:42:42 +0200 |
commit | 4a58f611253c6c17e6183c013f2f766d6beb4cca (patch) | |
tree | 307b5b992185582beda968c2b740d490b9410af0 /lib/snmp/src/compile/snmpc_lib.erl | |
parent | 7db84033da5880f2e3501865749a8c166fe2d358 (diff) | |
parent | 5f2fbdd95ed577b50f1d14ed490c1f2417350d69 (diff) | |
download | otp-4a58f611253c6c17e6183c013f2f766d6beb4cca.tar.gz otp-4a58f611253c6c17e6183c013f2f766d6beb4cca.tar.bz2 otp-4a58f611253c6c17e6183c013f2f766d6beb4cca.zip |
Merge branch 'bmk/snmp/compiler/wrong_variable_name/OTP-9447' into bmk/snmp/snmp4211_integration
Diffstat (limited to 'lib/snmp/src/compile/snmpc_lib.erl')
-rw-r--r-- | lib/snmp/src/compile/snmpc_lib.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/snmp/src/compile/snmpc_lib.erl b/lib/snmp/src/compile/snmpc_lib.erl index 4f71c47bfa..a0a35e91c4 100644 --- a/lib/snmp/src/compile/snmpc_lib.erl +++ b/lib/snmp/src/compile/snmpc_lib.erl @@ -1754,12 +1754,12 @@ error(FormatStr, Data, Line) when is_list(FormatStr) -> exit(error). print_error(FormatStr, Data) when is_list(FormatStr) -> - ok = io:format("~s: Error: " ++ FormatStr,[get(filename)|Data]), + ok = io:format("~s: " ++ FormatStr,[get(filename)|Data]), put(errors,yes), io:format("~n"). print_error(FormatStr, Data,Line) when is_list(FormatStr) -> - ok = io:format("~s: ~w: Error: " ++ FormatStr,[get(filename), Line |Data]), + ok = io:format("~s: ~w: " ++ FormatStr,[get(filename), Line |Data]), put(errors,yes), io:format("~n"). |