Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2024 03:50:22 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f54495100fbf - main - sys/syscallsubr.h: align definition of kern_fcntl_freebsd() on 32bit
Message-ID:  <202403200350.42K3oMEU047456@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=f54495100fbf8f662dc9cdeca4ba70ba31255bc9

commit f54495100fbf8f662dc9cdeca4ba70ba31255bc9
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-03-20 03:49:01 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-03-20 03:49:01 +0000

    sys/syscallsubr.h: align definition of kern_fcntl_freebsd() on 32bit
    
    Fixes:  d0efabdf15d956e9bc0414356ed798ca3c846e08
---
 sys/sys/syscallsubr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h
index 25df3f03f1de..6652619287ad 100644
--- a/sys/sys/syscallsubr.h
+++ b/sys/sys/syscallsubr.h
@@ -164,7 +164,7 @@ int	kern_fchmodat(struct thread *td, int fd, const char *path,
 int	kern_fchownat(struct thread *td, int fd, const char *path,
 	    enum uio_seg pathseg, int uid, int gid, int flag);
 int	kern_fcntl(struct thread *td, int fd, int cmd, intptr_t arg);
-int	kern_fcntl_freebsd(struct thread *td, int fd, int cmd, long arg);
+int	kern_fcntl_freebsd(struct thread *td, int fd, int cmd, intptr_t arg);
 int	kern_fhopen(struct thread *td, const struct fhandle *u_fhp, int flags);
 int	kern_fhstat(struct thread *td, fhandle_t fh, struct stat *buf);
 int	kern_fhstatfs(struct thread *td, fhandle_t fh, struct statfs *buf);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403200350.42K3oMEU047456>