diff options
| author | Kai Bleeke <[email protected]> | 2023-05-03 20:15:43 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-03 20:15:43 +0200 |
| commit | 8dbe397f993cb3a9c330c3d6d5a90a8695d87c67 (patch) | |
| tree | 82593ab58ec39d913e8c3d43279ad2c6d0e9a1d4 /src/ioctl.rs | |
| parent | 6ee45f5ec01208bdcb38f23bf46dcdac141ff6e7 (diff) | |
cleanup ioctl response logging
Diffstat (limited to 'src/ioctl.rs')
| -rw-r--r-- | src/ioctl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ioctl.rs b/src/ioctl.rs index 66c6a10e5..61524c274 100644 --- a/src/ioctl.rs +++ b/src/ioctl.rs | |||
| @@ -110,7 +110,7 @@ impl IoctlState { | |||
| 110 | 110 | ||
| 111 | pub fn ioctl_done(&self, response: &[u8]) { | 111 | pub fn ioctl_done(&self, response: &[u8]) { |
| 112 | if let IoctlStateInner::Sent { buf } = self.state.get() { | 112 | if let IoctlStateInner::Sent { buf } = self.state.get() { |
| 113 | info!("IOCTL Response: {:02x}", Bytes(response)); | 113 | trace!("IOCTL Response: {:02x}", Bytes(response)); |
| 114 | 114 | ||
| 115 | // TODO fix this | 115 | // TODO fix this |
| 116 | (unsafe { &mut *buf }[..response.len()]).copy_from_slice(response); | 116 | (unsafe { &mut *buf }[..response.len()]).copy_from_slice(response); |
