diff options
-rw-r--r-- | sys/sys/sysent.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h index 7e4d7aa..d2941e6 100644 --- a/sys/sys/sysent.h +++ b/sys/sys/sysent.h @@ -121,7 +121,7 @@ struct syscall_module_data { #define SYSCALL_MODULE(name, offset, new_sysent, evh, arg) \ static struct syscall_module_data name##_syscall_mod = { \ - evh, arg, offset, new_sysent, { 0, NULL } \ + evh, arg, offset, new_sysent, { 0, NULL, AUE_NULL } \ }; \ \ static moduledata_t name##_mod = { \ @@ -136,7 +136,8 @@ static int syscallname##_syscall = SYS_##syscallname; \ static struct sysent syscallname##_sysent = { \ (sizeof(struct syscallname ## _args ) \ / sizeof(register_t)), \ - (sy_call_t *)& syscallname \ + (sy_call_t *)& syscallname, \ + SYS_AUE_##syscallname \ }; \ SYSCALL_MODULE(syscallname, \ & syscallname##_syscall, & syscallname##_sysent, \ |