Module Name: src Committed By: gutteridge Date: Thu Feb 29 01:59:12 UTC 2024
Modified Files: src/sys/arch/x86/x86: coretemp.c Log Message: coretemp.c: fix grammar in a warning message (I get several of these warnings on boot on a particular machine. Now, it also seems that the code isn't retrieving the correct value, either; TBD.) To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/x86/x86/coretemp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x86/x86/coretemp.c diff -u src/sys/arch/x86/x86/coretemp.c:1.39 src/sys/arch/x86/x86/coretemp.c:1.40 --- src/sys/arch/x86/x86/coretemp.c:1.39 Thu Jul 13 09:12:23 2023 +++ src/sys/arch/x86/x86/coretemp.c Thu Feb 29 01:59:11 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: coretemp.c,v 1.39 2023/07/13 09:12:23 msaitoh Exp $ */ +/* $NetBSD: coretemp.c,v 1.40 2024/02/29 01:59:11 gutteridge Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -61,7 +61,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: coretemp.c,v 1.39 2023/07/13 09:12:23 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: coretemp.c,v 1.40 2024/02/29 01:59:11 gutteridge Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -318,7 +318,7 @@ notee: tjmax = __SHIFTOUT(msr, MSR_TEMP_TARGET_READOUT); if ((tjmax < TJMAX_LIMIT_LOW) || (tjmax > TJMAX_LIMIT_HIGH)) aprint_error_dev(sc->sc_dev, - "WARNING: Tjmax(%d) might exceeded the limit.\n", + "WARNING: Tjmax(%d) might exceed the limit.\n", tjmax); sc->sc_tjmax = tjmax; }