From 6a33ecdc2f649234cc3160daec8c329f33860f45 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 8 Apr 2022 12:01:33 -0700 Subject: [PATCH] Fix a typo in previous commit. Reported by: npn Pointy hat to: jhb Fixes: 572edd3dae9f vmm: Re-quiet set but unused warnings. --- sys/amd64/vmm/io/vrtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/vmm/io/vrtc.c b/sys/amd64/vmm/io/vrtc.c index 10bab96700e..65b2cd2cb39 100644 --- a/sys/amd64/vmm/io/vrtc.c +++ b/sys/amd64/vmm/io/vrtc.c @@ -286,7 +286,7 @@ rtc_to_secs(struct vrtc *vrtc) struct timespec ts; struct rtcdev *rtc; #ifdef KTR - struct vm *vm = vtrc->vm; + struct vm *vm = vrtc->vm; #endif int century, error, hour, pm, year;