From e6c0a03f90c8b4e2af380547408483852da390de Mon Sep 17 00:00:00 2001 From: pk Date: Tue, 13 Oct 1998 21:08:48 +0000 Subject: [PATCH] `ncpu != 0' doesn't make much sense when deciding what CP info to print. --- sys/arch/sparc/sparc/cpu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/arch/sparc/sparc/cpu.c b/sys/arch/sparc/sparc/cpu.c index e396117bf89b..62d34c002a36 100644 --- a/sys/arch/sparc/sparc/cpu.c +++ b/sys/arch/sparc/sparc/cpu.c @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.83 1998/10/13 13:37:14 pk Exp $ */ +/* $NetBSD: cpu.c,v 1.84 1998/10/13 21:08:48 pk Exp $ */ /* * Copyright (c) 1996 @@ -296,9 +296,8 @@ static int cpu_number; cpi->mid = mid; cpi->node = node; - if (ncpu != 0) { + if (ncpu > 1) printf(": mid %d", mid); - } getcpuinfo(cpi, node);