Fix error in previous.

This commit is contained in:
ad 2008-06-09 11:49:40 +00:00
parent c862aeca6f
commit f77c704577
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_ras.c,v 1.32 2008/06/09 11:46:34 ad Exp $ */
/* $NetBSD: kern_ras.c,v 1.33 2008/06/09 11:49:40 ad Exp $ */
/*-
* Copyright (c) 2002, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_ras.c,v 1.32 2008/06/09 11:46:34 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_ras.c,v 1.33 2008/06/09 11:49:40 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -158,7 +158,7 @@ ras_purgeall(void)
p = curproc;
if (p->p_raslist == NULL)
return;
return 0;
mutex_enter(&p->p_auxlock);
if ((rp = p->p_raslist) != NULL) {