File otp_src_18.3.4-lib-inets-tftp-tftp_binary.patch of Package erlang

diff -Ndurp otp_src_18.3.4/lib/inets/src/tftp/tftp_binary.erl otp_src_18.3.4-lib-inets-tftp-tftp_binary/lib/inets/src/tftp/tftp_binary.erl
--- otp_src_18.3.4/lib/inets/src/tftp/tftp_binary.erl	2016-06-13 14:21:38.000000000 +0300
+++ otp_src_18.3.4-lib-inets-tftp-tftp_binary/lib/inets/src/tftp/tftp_binary.erl	2016-06-17 02:47:24.922954699 +0300
@@ -174,7 +174,7 @@ handle_mode(Mode, IsNativeAscii) ->
     case Mode of
 	"netascii" when IsNativeAscii =:= true -> true;
 	"octet" -> false;
-	_ -> throw({error, {badop, "Illegal mode " ++ Mode}})
+	_ -> throw({error, {badop, lists:flatten(io_lib:format("Illegal mode ~p", [Mode]))}})
     end.
 
 do_handle_options(Access, Bin, [{Key, Val} | T]) ->
openSUSE Build Service is sponsored by