Update machine.mapPhysical's docstring for panic -> throw.

PiperOrigin-RevId: 476249730
This commit is contained in:
Etienne Perot
2022-09-22 18:57:51 -07:00
committed by gVisor bot
parent da7a6c2991
commit c895fa2441
+1 -1
View File
@@ -372,7 +372,7 @@ func (m *machine) hasSlot(physical uintptr) bool {
// mapPhysical checks for the mapping of a physical range, and installs one if
// not available. This attempts to be efficient for calls in the hot path.
//
// This panics on error.
// This throws on error.
//
//go:nosplit
func (m *machine) mapPhysical(physical, length uintptr, phyRegions []physicalRegion) {