From 918afbb71e4733b0a8a6c6cd1aebda03bd174415 Mon Sep 17 00:00:00 2001 From: timoxa0 Date: Mon, 17 Jun 2024 23:48:05 +0500 Subject: [PATCH] Fix typo GerVar -> GetVar --- fastboot/FastbootDevice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {