commit fea641da0a228fcd33a1168c039c95a01bbf4c7a
parent 118fc0a9eb5be1eafdd8877a038cfab95b1993d8
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 31 Dec 2021 11:06:21 +0100
io+freebsd: fix offs name
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/io/+freebsd/file.ha b/io/+freebsd/file.ha
@@ -41,10 +41,10 @@ fn fd_close(fd: file) void = rt::close(fd)!;
fn fd_seek(
fd: file,
- off: off,
+ offs: off,
whence: whence,
) (off | error) = {
- match (rt::lseek(fd, off: i64, whence: uint)) {
+ match (rt::lseek(fd, offs: i64, whence: uint)) {
case let err: rt::errno =>
return errors::errno(err);
case let n: i64 =>