aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs/portal
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1997-11-06 19:29:57 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1997-11-06 19:29:57 +0000
commitcb226aaa624a8d8e6c7c5f9aaaa1b415f0e2cf4d (patch)
tree41d30ac216370f1121c6fc84569ee33e9be285d6 /sys/miscfs/portal
parentc62a76ba79b3368c05aae26e78a7631283e13307 (diff)
downloadsrc-cb226aaa624a8d8e6c7c5f9aaaa1b415f0e2cf4d.tar.gz
src-cb226aaa624a8d8e6c7c5f9aaaa1b415f0e2cf4d.zip
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.
Notes
Notes: svn path=/head/; revision=30994
Diffstat (limited to 'sys/miscfs/portal')
-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 05b6b583ea59..e622cff39570 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.