diff --git a/fastboot/FastbootDevice.go b/fastboot/FastbootDevice.go index ffa4c90..22fc3fb 100644 --- a/fastboot/FastbootDevice.go +++ b/fastboot/FastbootDevice.go @@ -189,7 +189,7 @@ func (d *FastbootDevice) Recv() (FastbootResponseStatus, []byte, error) { return status, data[4:], nil } -func (d *FastbootDevice) GerVar(variable string) (string, error) { +func (d *FastbootDevice) GetVar(variable string) (string, error) { d.Send([]byte(fmt.Sprintf("getvar:%s", variable))) status, resp, err := d.Recv() if status == Status.FAIL {