diff options
author | julian <julian@FreeBSD.org> | 2008-07-24 18:01:50 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2008-07-24 18:01:50 +0000 |
commit | 563c4bfc08b025730b8f60541b7f9c58d23d2427 (patch) | |
tree | 7ffb0bae918fda84f76d4e5895836f6a553f60b4 /usr.sbin | |
parent | a1ffd780f3e26b54aecd0599dcec917026d625b3 (diff) | |
download | FreeBSD-src-563c4bfc08b025730b8f60541b7f9c58d23d2427.zip FreeBSD-src-563c4bfc08b025730b8f60541b7f9c58d23d2427.tar.gz |
Switch to using the setfib syscall instead of a syscall(175,...)
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/setfib/setfib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/setfib/setfib.c b/usr.sbin/setfib/setfib.c index 8c33614..9b9c815 100644 --- a/usr.sbin/setfib/setfib.c +++ b/usr.sbin/setfib/setfib.c @@ -87,7 +87,7 @@ main(int argc, char *argv[]) usage(); errno = 0; - if (syscall(175, (int)fib)) + if (setfib((int)fib)) warn("setfib"); execvp(*argv, argv); err(errno == ENOENT ? 127 : 126, "%s", *argv); |