Page MenuHomeFreeBSD

D30498.id.diff
No OneTemporary

D30498.id.diff

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
};
/*

File Metadata

Mime Type
text/plain
Expires
Tue, May 19, 5:43 PM (14 h, 51 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33271624
Default Alt Text
D30498.id.diff (393 B)

Event Timeline