From 855f1c9c85848b3ad99e70b52049adb744c6632d Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Wed, 13 Jul 2011 16:52:58 -0400 Subject: [PATCH] Typo --- src/lager_crash_log.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lager_crash_log.erl b/src/lager_crash_log.erl index b88d677..77bf56e 100644 --- a/src/lager_crash_log.erl +++ b/src/lager_crash_log.erl @@ -97,7 +97,7 @@ handle_cast({log, Event}, #state{name=Name, fd=FD, inode=Inode, flap=Flap, fmtma true -> {noreply, State}; _ -> - ?INT_LOG(error, "Failed to reopen logfile ~s with error ~w", [Name, file:format_info(Reason)]), + ?INT_LOG(error, "Failed to reopen logfile ~s with error ~w", [Name, file:format_error(Reason)]), {noreply, State#state{flap=true}} end end