Fix typo in error message

This commit is contained in:
Randy Ramos 2018-05-25 16:51:55 -04:00 committed by Christian Duerr
parent 4d4e62db92
commit f7172fd6e7
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}