diff options
author | peter <peter@FreeBSD.org> | 1998-04-05 02:59:10 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-04-05 02:59:10 +0000 |
commit | 9cde5a8d0963c890fc763dc9f3108cc1808c9ff2 (patch) | |
tree | 3ec6aaff4e861f6ffd68f5e3f7fb97a30fbdef7d | |
parent | 5f4dc556ce179e9a21b364c5c16961314807fd5c (diff) | |
download | FreeBSD-src-9cde5a8d0963c890fc763dc9f3108cc1808c9ff2.zip FreeBSD-src-9cde5a8d0963c890fc763dc9f3108cc1808c9ff2.tar.gz |
Fix previous commit. Don't people read compiler messages or something??
-rw-r--r-- | sys/kern/kern_resource.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c index 004a446..d5136e0 100644 --- a/sys/kern/kern_resource.c +++ b/sys/kern/kern_resource.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_resource.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_resource.c,v 1.33 1998/03/04 10:25:52 dufault Exp $ + * $Id: kern_resource.c,v 1.34 1998/04/04 13:25:18 phk Exp $ */ #include "opt_compat.h" @@ -507,7 +507,7 @@ calcru(p, up, sp, ip) sec = p->p_rtime.tv_sec; usec = p->p_rtime.tv_usec; #ifdef SMP - if (p->p_oncpu != 0xff) { + if (p->p_oncpu != (char)0xff) { #else if (p == curproc) { #endif |