Module Name: src Committed By: christos Date: Fri Sep 5 10:47:32 UTC 2014
Modified Files: src/sys/compat/svr4: svr4_fcntl.c Log Message: make this compile again To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/compat/svr4/svr4_fcntl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/svr4/svr4_fcntl.c diff -u src/sys/compat/svr4/svr4_fcntl.c:1.72 src/sys/compat/svr4/svr4_fcntl.c:1.73 --- src/sys/compat/svr4/svr4_fcntl.c:1.72 Fri Sep 5 05:21:55 2014 +++ src/sys/compat/svr4/svr4_fcntl.c Fri Sep 5 06:47:32 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: svr4_fcntl.c,v 1.72 2014/09/05 09:21:55 matt Exp $ */ +/* $NetBSD: svr4_fcntl.c,v 1.73 2014/09/05 10:47:32 christos Exp $ */ /*- * Copyright (c) 1994, 1997, 2008 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: svr4_fcntl.c,v 1.72 2014/09/05 09:21:55 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: svr4_fcntl.c,v 1.73 2014/09/05 10:47:32 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -220,7 +220,7 @@ fd_revoke(struct lwp *l, int fd, registe vnode_t *vp; int error; - if ((error = fd_getvnode(SCARG(uap, fd), &fp)) != 0) + if ((error = fd_getvnode(fd, &fp)) != 0) return error; vp = fp->f_vnode;