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 1.70, 1.71. approved by thorpej:
details: https://anonhg.NetBSD.org/src/rev/75f846801355
branches: netbsd-1-5
changeset: 489261:75f846801355
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Aug 26 00:58:35 2000 +0000
description:
pull up 1.70, 1.71. approved by thorpej:
1.70
>Fix LP64BE bug.
1.71
>Fix omission in previous.
diffstat:
sys/kern/kern_descrip.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r b39eee186dce -r 75f846801355 sys/kern/kern_descrip.c
--- a/sys/kern/kern_descrip.c Sat Aug 26 00:58:13 2000 +0000
+++ b/sys/kern/kern_descrip.c Sat Aug 26 00:58:35 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_descrip.c,v 1.67.4.1 2000/07/04 16:05:33 jdolecek Exp $ */
+/* $NetBSD: kern_descrip.c,v 1.67.4.2 2000/08/26 00:58:35 mrg Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1991, 1993
@@ -298,17 +298,17 @@
goto out;
}
if ((long)SCARG(uap, arg) <= 0) {
- SCARG(uap, arg) = (void *)(-(long)SCARG(uap, arg));
+ tmp = (-(long)SCARG(uap, arg));
} else {
struct proc *p1 = pfind((long)SCARG(uap, arg));
if (p1 == 0) {
error = ESRCH;
goto out;
}
- SCARG(uap, arg) = (void *)(long)p1->p_pgrp->pg_id;
+ tmp = (long)p1->p_pgrp->pg_id;
}
error = (*fp->f_ops->fo_ioctl)
- (fp, TIOCSPGRP, (caddr_t)&SCARG(uap, arg), p);
+ (fp, TIOCSPGRP, (caddr_t)&tmp, p);
break;
case F_SETLKW:
Home |
Main Index |
Thread Index |
Old Index