diff options
Diffstat (limited to 'share/examples/kld/syscall/module/syscall.c')
-rw-r--r-- | share/examples/kld/syscall/module/syscall.c | 4 |
1 files 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 }; /* |