diff options
Diffstat (limited to 'vendor/rustix/src/system.rs')
-rw-r--r-- | vendor/rustix/src/system.rs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/vendor/rustix/src/system.rs b/vendor/rustix/src/system.rs index 9346f5560..1f7f39ce4 100644 --- a/vendor/rustix/src/system.rs +++ b/vendor/rustix/src/system.rs @@ -102,25 +102,25 @@ impl fmt::Debug for Uname { { write!( fmt, - "{} {} {} {} {}", - self.sysname().to_string_lossy(), - self.nodename().to_string_lossy(), - self.release().to_string_lossy(), - self.version().to_string_lossy(), - self.machine().to_string_lossy(), + "{:?} {:?} {:?} {:?} {:?}", + self.sysname(), + self.nodename(), + self.release(), + self.version(), + self.machine(), ) } #[cfg(linux_kernel)] { write!( fmt, - "{} {} {} {} {} {}", - self.sysname().to_string_lossy(), - self.nodename().to_string_lossy(), - self.release().to_string_lossy(), - self.version().to_string_lossy(), - self.machine().to_string_lossy(), - self.domainname().to_string_lossy(), + "{:?} {:?} {:?} {:?} {:?} {:?}", + self.sysname(), + self.nodename(), + self.release(), + self.version(), + self.machine(), + self.domainname(), ) } } |