vhpet: Fix typo

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/885
This commit is contained in:
Elyes Haouas 2024-04-11 11:27:29 -06:00 committed by Warner Losh
parent 8d66b134f3
commit ef764e4801

View file

@ -776,7 +776,7 @@ vhpet_snapshot(struct vhpet *vhpet, struct vm_snapshot_meta *meta)
/* at restore time the countbase should have the value it had when the
* snapshot was created; since the value is not directly kept in
* vhpet->countbase, but rather computed relative to the current system
* uptime using countbase_sbt, save the value retured by vhpet_counter
* uptime using countbase_sbt, save the value returned by vhpet_counter
*/
if (meta->op == VM_SNAPSHOT_SAVE)
countbase = vhpet_counter(vhpet, NULL);