Module Name: src Committed By: andvar Date: Wed Nov 2 18:18:44 UTC 2022
Modified Files: src/sys/dev/hyperv: hvtimesync.c Log Message: rename sneaky snyc in hvtimesnyc_sample_verbose variable to sync. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/hyperv/hvtimesync.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/dev/hyperv/hvtimesync.c diff -u src/sys/dev/hyperv/hvtimesync.c:1.2 src/sys/dev/hyperv/hvtimesync.c:1.3 --- src/sys/dev/hyperv/hvtimesync.c:1.2 Fri Mar 1 08:17:51 2019 +++ src/sys/dev/hyperv/hvtimesync.c Wed Nov 2 18:18:44 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: hvtimesync.c,v 1.2 2019/03/01 08:17:51 nonaka Exp $ */ +/* $NetBSD: hvtimesync.c,v 1.3 2022/11/02 18:18:44 andvar Exp $ */ /*- * Copyright (c) 2014,2016-2017 Microsoft Corp. @@ -28,7 +28,7 @@ #include <sys/cdefs.h> #ifdef __KERNEL_RCSID -__KERNEL_RCSID(0, "$NetBSD: hvtimesync.c,v 1.2 2019/03/01 08:17:51 nonaka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hvtimesync.c,v 1.3 2022/11/02 18:18:44 andvar Exp $"); #endif #ifdef __FBSDID __FBSDID("$FreeBSD: head/sys/dev/hyperv/utilities/vmbus_timesync.c 322488 2017-08-14 06:00:50Z sephe $"); @@ -75,7 +75,7 @@ CFATTACH_DECL_NEW(hvtimesync, sizeof(str hvtimesync_match, hvtimesync_attach, hvtimesync_detach, NULL); static int hvtimesync_ignore_sync; -static int hvtimesnyc_sample_verbose; +static int hvtimesync_sample_verbose; static int hvtimesync_sample_thresh = -1; static int @@ -149,7 +149,7 @@ do_timesync(struct hvtimesync_softc *sc, if ((tsflags & VMBUS_ICMSG_TS_FLAG_SAMPLE) && hvtimesync_sample_thresh >= 0) { - if (hvtimesnyc_sample_verbose) { + if (hvtimesync_sample_verbose) { device_printf(vsc->sc_dev, "sample request, hv: %ju, vm: %ju\n", (uintmax_t)hv_ns, (uintmax_t)vm_ns); @@ -284,7 +284,7 @@ hvtimesync_sysctl_setup(device_t self) error = sysctl_createv(&vsc->sc_log, 0, &node, NULL, CTLFLAG_READWRITE, CTLTYPE_INT, "sample_verbose", NULL, - NULL, 0, &hvtimesnyc_sample_verbose, 0, + NULL, 0, &hvtimesync_sample_verbose, 0, CTL_CREATE, CTL_EOL); if (error) return error;