src/catar/encoder.rs: remove debug output

This commit is contained in:
Dietmar Maurer 2019-03-08 08:23:07 +01:00
parent 2689810c92
commit 6b64d25d64

View File

@ -479,7 +479,7 @@ impl <'a, W: Write> CaTarEncoder<'a, W> {
let major = unsafe { libc::major(stat.st_rdev) } as u64; let major = unsafe { libc::major(stat.st_rdev) } as u64;
let minor = unsafe { libc::minor(stat.st_rdev) } as u64; let minor = unsafe { libc::minor(stat.st_rdev) } as u64;
println!("encode_device: {:?} {} {} {}", self.current_path, stat.st_rdev, major, minor); //println!("encode_device: {:?} {} {} {}", self.current_path, stat.st_rdev, major, minor);
self.write_header(CA_FORMAT_DEVICE, std::mem::size_of::<CaFormatDevice>() as u64)?; self.write_header(CA_FORMAT_DEVICE, std::mem::size_of::<CaFormatDevice>() as u64)?;
self.write_item(CaFormatDevice { major, minor })?; self.write_item(CaFormatDevice { major, minor })?;