Fix syscall kld example

PR:	255936
Reported by:	splitface@mailfence.com
Approved by:	gbe (mentor), imp@, jilles@
Differential Revision:	https://reviews.freebsd.org/D30498
This commit is contained in:
Fernando Apesteguía
2021-05-27 14:09:39 +02:00
parent ffc5dc788f
commit dc318a4ffa
+2 -2
View File
@@ -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
};
/*