Switch to using the setfib syscall instead of a syscall(175,...)
This commit is contained in:
parent
85f57c4d48
commit
c75a0d409a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180784
@ -87,7 +87,7 @@ main(int argc, char *argv[])
|
|||||||
usage();
|
usage();
|
||||||
|
|
||||||
errno = 0;
|
errno = 0;
|
||||||
if (syscall(175, (int)fib))
|
if (setfib((int)fib))
|
||||||
warn("setfib");
|
warn("setfib");
|
||||||
execvp(*argv, argv);
|
execvp(*argv, argv);
|
||||||
err(errno == ENOENT ? 127 : 126, "%s", *argv);
|
err(errno == ENOENT ? 127 : 126, "%s", *argv);
|
||||||
|
Loading…
Reference in New Issue
Block a user