Date: Thu, 30 May 2002 23:07:15 -0700 (PDT) From: Julian Elischer <julian@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 12182 for review Message-ID: <200205310607.g4V67FD30601@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=12182 Change 12182 by julian@julian_ref on 2002/05/30 23:06:44 use suword instead of copyout() in another place. Affected files ... ... //depot/projects/kse/sys/kern/subr_trap.c#58 edit Differences ... ==== //depot/projects/kse/sys/kern/subr_trap.c#58 (text+ko) ==== @@ -226,10 +226,8 @@ * We might as well do it here. */ td->td_flags &= ~TDF_UPCALLING; /* Hmmmm. */ - error = copyout(&dummy, /* NULL */ - (caddr_t)td->td_kse->ke_mailbox + - offsetof(struct kse_mailbox, current_thread), - sizeof(void *)); + error = suword((caddr_t)td->td_kse->ke_mailbox + + offsetof(struct kse_mailbox, current_thread), 0); } /* * Stop any chance that we may be separated from To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205310607.g4V67FD30601>