Fix typo GerVar -> GetVar

This commit is contained in:
timoxa0 2024-06-17 23:48:05 +05:00
parent 8ad17d7f8a
commit 918afbb71e

View file

@ -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 {