summaryrefslogtreecommitdiffstats
path: root/sys/miscfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-11-06 19:29:57 +0000
committerphk <phk@FreeBSD.org>1997-11-06 19:29:57 +0000
commit4c8218a5c7d132b8ae0bd2a5a677455d69fabaab (patch)
tree70e3bdde81d385220c0b0de7410976c4e83e5bbd /sys/miscfs
parent363a7ddf8560aa6b11580adeb58853d719217b26 (diff)
downloadFreeBSD-src-4c8218a5c7d132b8ae0bd2a5a677455d69fabaab.zip
FreeBSD-src-4c8218a5c7d132b8ae0bd2a5a677455d69fabaab.tar.gz
Move the "retval" (3rd) parameter from all syscall functions and put
it in struct proc instead. This fixes a boatload of compiler warning, and removes a lot of cruft from the sources. I have not removed the /*ARGSUSED*/, they will require some looking at. libkvm, ps and other userland struct proc frobbing programs will need recompiled.
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/portal/portal_vnops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/miscfs/portal/portal_vnops.c b/sys/miscfs/portal/portal_vnops.c
index 05b6b58..e622cff 100644
--- a/sys/miscfs/portal/portal_vnops.c
+++ b/sys/miscfs/portal/portal_vnops.c
@@ -35,7 +35,7 @@
*
* @(#)portal_vnops.c 8.14 (Berkeley) 5/21/95
*
- * $Id: portal_vnops.c,v 1.27 1997/10/26 20:55:20 phk Exp $
+ * $Id: portal_vnops.c,v 1.28 1997/10/27 13:33:41 bde Exp $
*/
/*
@@ -84,10 +84,9 @@ portal_closefd(p, fd)
{
int error;
struct close_args ua;
- int rc;
ua.fd = fd;
- error = close(p, &ua, &rc);
+ error = close(p, &ua);
/*
* We should never get an error, and there isn't anything
* we could do if we got one, so just print a message.
OpenPOWER on IntegriCloud