Fix typo GerVar -> GetVar
This commit is contained in:
parent
8ad17d7f8a
commit
918afbb71e
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue