git: 5068387f42f4 - main - linux(4): Use l_off_t type for offset argument in sendfile syscall
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Aug 2023 19:58:36 UTC
The branch main has been updated by dchagin:
URL: https://cgit.FreeBSD.org/src/commit/?id=5068387f42f4d863a276c3a55fc626d4cb6c0c91
commit 5068387f42f4d863a276c3a55fc626d4cb6c0c91
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-08-17 19:57:16 +0000
Commit: Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-08-17 19:57:16 +0000
linux(4): Use l_off_t type for offset argument in sendfile syscall
The off_t on Linux is a long, so it's non-functional change, just to
avoid confusing future readers.
MFC after: 1 month
---
sys/amd64/linux32/syscalls.master | 2 +-
sys/i386/linux/syscalls.master | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master
index a282ff00345f..9439a80b96f6 100644
--- a/sys/amd64/linux32/syscalls.master
+++ b/sys/amd64/linux32/syscalls.master
@@ -1020,7 +1020,7 @@
int linux_sendfile(
l_int out,
l_int in,
- l_long *offset,
+ l_off_t *offset,
l_size_t count
);
}
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index 65a5aa69fce5..ff3a7d444600 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -1038,7 +1038,7 @@
int linux_sendfile(
l_int out,
l_int in,
- l_long *offset,
+ l_off_t *offset,
l_size_t count
);
}