summaryrefslogtreecommitdiff
path: root/src/extauth.erl
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-09-23 15:17:20 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-09-23 15:17:20 +0300
commit5770946f03ba669ea867b787fbd546333a8a3814 (patch)
tree73a03717ac5d4c31e12b92c1aba3b407f3c5329c /src/extauth.erl
parentFix unicode formatting in ACME module (diff)
Correctly handle unicode in log messages
Diffstat (limited to 'src/extauth.erl')
-rw-r--r--src/extauth.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extauth.erl b/src/extauth.erl
index cad8054c..bdf67810 100644
--- a/src/extauth.erl
+++ b/src/extauth.erl
@@ -129,7 +129,7 @@ handle_call({cmd, Cmd, EndTime}, _From, State) ->
{reply, decode_bool(N), State};
{Port, Data} ->
?ERROR_MSG("Received unexpected response from external "
- "authentication program '~s': ~p "
+ "authentication program '~ts': ~p "
"(port = ~p, pid = ~w)",
[State#state.prog, Data, Port, State#state.os_pid]),
{reply, {error, unexpected_response}, State};
@@ -149,11 +149,11 @@ handle_info({'EXIT', Port, _Reason}, #state{port = Port,
start_time = Time} = State) ->
case curr_time() - Time of
Diff when Diff < 1000 ->
- ?ERROR_MSG("Failed to start external authentication program '~s'",
+ ?ERROR_MSG("Failed to start external authentication program '~ts'",
[State#state.prog]),
{stop, normal, State};
_ ->
- ?ERROR_MSG("External authentication program '~s' has terminated "
+ ?ERROR_MSG("External authentication program '~ts' has terminated "
"unexpectedly (pid=~w), restarting via supervisor...",
[State#state.prog, State#state.os_pid]),
{stop, normal, State}