The branch main has been updated by fernape (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=dc318a4ffabcbfa23bb56a33403aad36e6de30af
commit dc318a4ffabcbfa23bb56a33403aad36e6de30af Author: Fernando Apesteguía <fern...@freebsd.org> AuthorDate: 2021-05-27 12:09:39 +0000 Commit: Fernando Apesteguía <fern...@freebsd.org> CommitDate: 2021-06-09 10:24:26 +0000 Fix syscall kld example PR: 255936 Reported by: splitf...@mailfence.com Approved by: gbe (mentor), imp@, jilles@ Differential Revision: https://reviews.freebsd.org/D30498 --- share/examples/kld/syscall/module/syscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/examples/kld/syscall/module/syscall.c b/share/examples/kld/syscall/module/syscall.c index 701e2492884c..1ee533005b85 100644 --- a/share/examples/kld/syscall/module/syscall.c +++ b/share/examples/kld/syscall/module/syscall.c @@ -51,8 +51,8 @@ hello(struct thread *td, void *arg) * The `sysent' for the new syscall */ static struct sysent hello_sysent = { - 0, /* sy_narg */ - hello /* sy_call */ + .sy_narg = 0, + .sy_call = hello }; /* _______________________________________________ dev-commits-src-main@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"