Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/sunos32 Fix previous. There is no uap.
details: https://anonhg.NetBSD.org/src/rev/da0f8ce8db85
branches: trunk
changeset: 332071:da0f8ce8db85
user: nakayama <nakayama%NetBSD.org@localhost>
date: Fri Sep 05 22:37:09 2014 +0000
description:
Fix previous. There is no uap.
diffstat:
sys/compat/sunos32/sunos32_ioctl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b196ecf0d981 -r da0f8ce8db85 sys/compat/sunos32/sunos32_ioctl.c
--- a/sys/compat/sunos32/sunos32_ioctl.c Fri Sep 05 21:32:37 2014 +0000
+++ b/sys/compat/sunos32/sunos32_ioctl.c Fri Sep 05 22:37:09 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos32_ioctl.c,v 1.30 2014/09/05 09:21:55 matt Exp $ */
+/* $NetBSD: sunos32_ioctl.c,v 1.31 2014/09/05 22:37:09 nakayama Exp $ */
/* from: NetBSD: sunos_ioctl.c,v 1.35 2001/02/03 22:20:02 mrg Exp */
/*
@@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos32_ioctl.c,v 1.30 2014/09/05 09:21:55 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos32_ioctl.c,v 1.31 2014/09/05 22:37:09 nakayama Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd32.h"
@@ -435,7 +435,7 @@
struct vnode *vp;
int error;
- if ((error = fd_getvnode(SCARG(uap, fd), &fp)) != 0)
+ if ((error = fd_getvnode(fd, &fp)) != 0)
return error;
if ((fp->f_flag & (FREAD|FWRITE)) == 0) {
fd_putfile(fd);
Home |
Main Index |
Thread Index |
Old Index