diff options
author | Randy Ramos <rramos1295@gmail.com> | 2018-05-25 16:51:55 -0400 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-05-25 20:51:55 +0000 |
commit | f7172fd6e7a7eb1444007030efa39f2f21558342 (patch) | |
tree | 3d2519ba550d151cc646dd15fb986004aceb5262 | |
parent | 4d4e62db92c6ad5647d6d5701b1c3f97dfe645c5 (diff) | |
download | alacritty-f7172fd6e7a7eb1444007030efa39f2f21558342.tar.gz alacritty-f7172fd6e7a7eb1444007030efa39f2f21558342.zip |
Fix typo in error message
-rw-r--r-- | src/event_loop.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event_loop.rs b/src/event_loop.rs index ce034ff0..18d48a52 100644 --- a/src/event_loop.rs +++ b/src/event_loop.rs @@ -396,7 +396,7 @@ impl<Io> EventLoop<Io> if ready.is_readable() { if let Err(err) = self.pty_read(&mut state, &mut buf, pipe.as_mut()) { - error!("Event loop exitting due to error: {} [{}:{}]", + error!("Event loop exiting due to error: {} [{}:{}]", err, file!(), line!()); break 'event_loop; } @@ -408,7 +408,7 @@ impl<Io> EventLoop<Io> if ready.is_writable() { if let Err(err) = self.pty_write(&mut state) { - error!("Event loop exitting due to error: {} [{}:{}]", + error!("Event loop exiting due to error: {} [{}:{}]", err, file!(), line!()); break 'event_loop; } |