git: 6a33ecdc2f64 - main - Fix a typo in previous commit.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Apr 2022 19:02:13 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=6a33ecdc2f649234cc3160daec8c329f33860f45
commit 6a33ecdc2f649234cc3160daec8c329f33860f45
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-08 19:01:33 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-08 19:01:33 +0000
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 10bab96700e4..65b2cd2cb39f 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;