Fix the syscall module name after r205320.
Submitted by: Vladislav Movchan <vladislav.movchan gmail com> MFC after: 1 week
This commit is contained in:
parent
997534958e
commit
8284562954
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209199
@ -41,7 +41,7 @@ main(int argc __unused, char **argv __unused)
|
|||||||
struct module_stat stat;
|
struct module_stat stat;
|
||||||
|
|
||||||
stat.version = sizeof(stat);
|
stat.version = sizeof(stat);
|
||||||
modstat(modfind("syscall"), &stat);
|
modstat(modfind("sys/syscall"), &stat);
|
||||||
syscall_num = stat.data.intval;
|
syscall_num = stat.data.intval;
|
||||||
return syscall (syscall_num);
|
return syscall (syscall_num);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user