From 563c4bfc08b025730b8f60541b7f9c58d23d2427 Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 24 Jul 2008 18:01:50 +0000 Subject: Switch to using the setfib syscall instead of a syscall(175,...) --- usr.sbin/setfib/setfib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/setfib/setfib.c') 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); -- cgit v1.1