git: 3225fd22b219 - main - kern_utimensat: Update name of last arg in prototype.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Nov 2021 18:02:12 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=3225fd22b2191c7a7a655cb5dacea9148f29c926 commit 3225fd22b2191c7a7a655cb5dacea9148f29c926 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2021-11-04 18:02:55 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2021-11-09 17:41:17 +0000 kern_utimensat: Update name of last arg in prototype. The last argument is a mask of AT_* flags, not a namei cnp flag as 'int follow' implies in other kern_* functions. Obtained from: CheriBSD Sponsored by: The University of Cambridge, Google Inc. --- 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 dc1b3d6a83de..4b57ae5cf938 100644 --- a/sys/sys/syscallsubr.h +++ b/sys/sys/syscallsubr.h @@ -334,7 +334,7 @@ int kern_utimesat(struct thread *td, int fd, const char *path, enum uio_seg pathseg, struct timeval *tptr, enum uio_seg tptrseg); int kern_utimensat(struct thread *td, int fd, const char *path, enum uio_seg pathseg, struct timespec *tptr, enum uio_seg tptrseg, - int follow); + int flag); int kern_wait(struct thread *td, pid_t pid, int *status, int options, struct rusage *rup); int kern_wait6(struct thread *td, enum idtype idtype, id_t id, int *status,