Module Name: src
Committed By: rillig
Date: Wed Feb 17 06:33:48 UTC 2021
Modified Files:
src/sys/arch/x86/x86: tsc.c
Log Message:
x86/tsc: fix double space in warning about TSC going backwards
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/x86/x86/tsc.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/tsc.c
diff -u src/sys/arch/x86/x86/tsc.c:1.52 src/sys/arch/x86/x86/tsc.c:1.53
--- src/sys/arch/x86/x86/tsc.c:1.52 Mon Jun 15 20:27:30 2020
+++ src/sys/arch/x86/x86/tsc.c Wed Feb 17 06:33:47 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: tsc.c,v 1.52 2020/06/15 20:27:30 riastradh Exp $ */
+/* $NetBSD: tsc.c,v 1.53 2021/02/17 06:33:47 rillig Exp $ */
/*-
* Copyright (c) 2008, 2020 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.52 2020/06/15 20:27:30 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.53 2021/02/17 06:33:47 rillig Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -424,8 +424,9 @@ tsc_get_timecount(struct timecounter *tc
__cpu_simple_lock_try(&lock)) {
ticks = getticks();
if (ticks - lastwarn >= hz) {
- printf("WARNING: TSC time went backwards "
- " by %u\n", (unsigned)(prev - cur));
+ printf(
+ "WARNING: TSC time went backwards by %u\n",
+ (unsigned)(prev - cur));
lastwarn = ticks;
}
__cpu_simple_unlock(&lock);