Page MenuHomeFreeBSD

D30498.id90129.diff
No OneTemporary

D30498.id90129.diff

Index: share/examples/kld/syscall/module/syscall.c
===================================================================
--- share/examples/kld/syscall/module/syscall.c
+++ 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
Mon, Sep 7, 6:33 PM (17 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38478438
Default Alt Text
D30498.id90129.diff (404 B)

Event Timeline