The branch stable/13 has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=d1d97a28e47edbcd53cb7d3a9b2ca6e357d695e8

commit d1d97a28e47edbcd53cb7d3a9b2ca6e357d695e8
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-04-08 19:01:33 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2023-01-26 19:26:35 +0000

    Fix a typo in previous commit.
    
    Reported by:    npn
    Pointy hat to:  jhb
    Fixes:          572edd3dae9f vmm: Re-quiet set but unused warnings.
    
    (cherry picked from commit 6a33ecdc2f649234cc3160daec8c329f33860f45)
---
 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;
 

Reply via email to