summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2008-07-24 18:01:50 +0000
committerjulian <julian@FreeBSD.org>2008-07-24 18:01:50 +0000
commit563c4bfc08b025730b8f60541b7f9c58d23d2427 (patch)
tree7ffb0bae918fda84f76d4e5895836f6a553f60b4 /usr.sbin
parenta1ffd780f3e26b54aecd0599dcec917026d625b3 (diff)
downloadFreeBSD-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.c2
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);
OpenPOWER on IntegriCloud