diff --git a/share/examples/kld/syscall/module/syscall.c b/share/examples/kld/syscall/module/syscall.c --- a/share/examples/kld/syscall/module/syscall.c +++ b/share/examples/kld/syscall/module/syscall.c @@ -51,8 +51,8 @@ * The `sysent' for the new syscall */ static struct sysent hello_sysent = { - 0, /* sy_narg */ - hello /* sy_call */ + .sy_narg = 0, + .sy_call = hello }; /*