diff options
| author | Brian Somers <brian@FreeBSD.org> | 1999-11-17 21:32:40 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1999-11-17 21:32:40 +0000 |
| commit | b08210f5fa459bc009d1d910d48d580c3baf53e9 (patch) | |
| tree | b969b7f5497e89523cbfdfbdc491c45ac7cada9f /sys | |
| parent | cf0a39401da73d01cdbce0a037d078e3b6bc9f42 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/kern/syscalls.master | 2 | ||||
| -rw-r--r-- | sys/sys/sysproto.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 28815bbfdc0b..3cfdf0895928 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -435,7 +435,7 @@ 300 STD BSD { int modnext(int modid); } 301 STD BSD { int modstat(int modid, struct module_stat* stat); } 302 STD BSD { int modfnext(int modid); } -303 STD BSD { int modfind(char *name); } +303 STD BSD { int modfind(const char *name); } 304 STD BSD { int kldload(const char *file); } 305 STD BSD { int kldunload(int fileid); } 306 STD BSD { int kldfind(const char *file); } diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 66f06417712e..84febb3b40dd 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -788,7 +788,7 @@ struct modfnext_args { int modid; char modid_[PAD_(int)]; }; struct modfind_args { - char * name; char name_[PAD_(char *)]; + const char * name; char name_[PAD_(const char *)]; }; struct kldload_args { const char * file; char file_[PAD_(const char *)]; |
