oops, typo in previous (|| -> &&)

This commit is contained in:
fvdl 2000-09-29 13:15:48 +00:00
parent 33234ff066
commit 243ae4806b
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.404 2000/09/29 13:05:12 fvdl Exp $ */ /* $NetBSD: machdep.c,v 1.405 2000/09/29 13:15:48 fvdl Exp $ */
/*- /*-
* Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc. * Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc.
@ -352,7 +352,7 @@ cpu_startup()
printf("cpu0: features %s\n", buf); printf("cpu0: features %s\n", buf);
} }
if (cpuid_level >= 3 || ((cpu_feature & CPUID_PN) != 0)) if (cpuid_level >= 3 && ((cpu_feature & CPUID_PN) != 0))
printf("cpu0: serial number %08X%08X%08X\n", printf("cpu0: serial number %08X%08X%08X\n",
cpu_serial[0], cpu_serial[1], cpu_serial[2]); cpu_serial[0], cpu_serial[1], cpu_serial[2]);