aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-01-16 11:47:56 +0100
committerSverker Eriksson <[email protected]>2014-01-16 11:47:56 +0100
commitba78a94d4f03d092329437def32a1468d72d0424 (patch)
treeefba67ea1763fed2cc98431b577fb492f8e869c0
parentaf583b6a455d64153dc4c92d8f250c2340418e9f (diff)
downloadotp-ba78a94d4f03d092329437def32a1468d72d0424.tar.gz
otp-ba78a94d4f03d092329437def32a1468d72d0424.tar.bz2
otp-ba78a94d4f03d092329437def32a1468d72d0424.zip
jinterface: Fix unicode bug in test code
-rw-r--r--lib/jinterface/test/jitu.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jinterface/test/jitu.erl b/lib/jinterface/test/jitu.erl
index a029c063bc..46b8cb3ac2 100644
--- a/lib/jinterface/test/jitu.erl
+++ b/lib/jinterface/test/jitu.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2004-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2004-2014. 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
@@ -133,7 +133,7 @@ es(L,Quote,EscSpace) ->
cmd(Cmd) ->
PortOpts = [{line,80},eof,exit_status,stderr_to_stdout],
- io:format("cmd: ~s~n", [Cmd]),
+ io:format("cmd: ~ts~n", [Cmd]),
case catch open_port({spawn,Cmd}, PortOpts) of
Port when is_port(Port) ->
case erlang:port_info(Port,os_pid) of