Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/svr4 make this compile again



details:   https://anonhg.NetBSD.org/src/rev/d3ca993a722d
branches:  trunk
changeset: 802204:d3ca993a722d
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Sep 05 10:47:32 2014 +0000

description:
make this compile again

diffstat:

 sys/compat/svr4/svr4_fcntl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 59230b7ab71c -r d3ca993a722d sys/compat/svr4/svr4_fcntl.c
--- a/sys/compat/svr4/svr4_fcntl.c      Fri Sep 05 10:43:26 2014 +0000
+++ b/sys/compat/svr4/svr4_fcntl.c      Fri Sep 05 10:47:32 2014 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index