summaryrefslogtreecommitdiff
path: root/ext/flash/sendfile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/flash/sendfile.rs')
-rw-r--r--ext/flash/sendfile.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/flash/sendfile.rs b/ext/flash/sendfile.rs
index 4efa7bc35..4caea712d 100644
--- a/ext/flash/sendfile.rs
+++ b/ext/flash/sendfile.rs
@@ -21,8 +21,8 @@ impl SendFile {
let count = 0x7ffff000;
let mut offset = self.written as libc::off_t;
- // SAFETY: call to libc::sendfile()
let res =
+ // SAFETY: call to libc::sendfile()
unsafe { libc::sendfile(self.io.1, self.io.0, &mut offset, count) };
if res == -1 {
Err(io::Error::last_os_error())