Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/kern Pull up revision 1.84 (via patch, requested by...



details:   https://anonhg.NetBSD.org/src/rev/bab473a00bf1
branches:  netbsd-1-5
changeset: 492742:bab473a00bf1
user:      he <he%NetBSD.org@localhost>
date:      Sat Feb 09 19:50:24 2002 +0000

description:
Pull up revision 1.84 (via patch, requested by kleink):
  Fix an LP64-BE bug with fctnl(..., F_GETOWN, ...).

diffstat:

 sys/kern/kern_descrip.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 13f3b2a2a0ba -r bab473a00bf1 sys/kern/kern_descrip.c
--- a/sys/kern/kern_descrip.c   Sat Feb 09 19:41:22 2002 +0000
+++ b/sys/kern/kern_descrip.c   Sat Feb 09 19:50:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_descrip.c,v 1.67.4.4 2001/07/29 20:02:05 he Exp $ */
+/*     $NetBSD: kern_descrip.c,v 1.67.4.5 2002/02/09 19:50:24 he Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1991, 1993
@@ -302,8 +302,8 @@
                        goto out;
                }
                error = (*fp->f_ops->fo_ioctl)
-                       (fp, TIOCGPGRP, (caddr_t)retval, p);
-               *retval = -*retval;
+                       (fp, TIOCGPGRP, (caddr_t)&tmp, p);
+               *retval = -*tmp;
                break;
 
        case F_SETOWN:



Home | Main Index | Thread Index | Old Index