diff options
author | Julian Elischer <julian@FreeBSD.org> | 2008-07-24 18:01:50 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 2008-07-24 18:01:50 +0000 |
commit | c75a0d409a7cddca365349cd5717909c0ddc878f (patch) | |
tree | 7ffb0bae918fda84f76d4e5895836f6a553f60b4 /usr.sbin/setfib | |
parent | 85f57c4d48257d76433e48ca08ebd02c5d25cd38 (diff) | |
download | src-c75a0d409a7cddca365349cd5717909c0ddc878f.tar.gz src-c75a0d409a7cddca365349cd5717909c0ddc878f.zip |
Switch to using the setfib syscall instead of a syscall(175,...)
Notes
Notes:
svn path=/head/; revision=180784
Diffstat (limited to 'usr.sbin/setfib')
-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 8c336141450f..9b9c815a386f 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); |