diff options
Diffstat (limited to 'sys_util/src/lib.rs')
-rw-r--r-- | sys_util/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys_util/src/lib.rs b/sys_util/src/lib.rs index cb0374b..29aa489 100644 --- a/sys_util/src/lib.rs +++ b/sys_util/src/lib.rs @@ -233,7 +233,7 @@ pub fn fallocate( /// continue /// }, /// Err(e) if e.errno() == libc::ECHILD => println!("no children left"), -/// Err(e) => println!("error reaping children: {:?}", e), +/// Err(e) => println!("error reaping children: {}", e), /// } /// break /// } @@ -298,7 +298,7 @@ impl Drop for UnlinkUnixDatagram { if let Ok(addr) = self.0.local_addr() { if let Some(path) = addr.as_pathname() { if let Err(e) = remove_file(path) { - warn!("failed to remove control socket file: {:?}", e); + warn!("failed to remove control socket file: {}", e); } } } |