mirror of
https://github.com/ipxe/ipxe
synced 2026-02-28 03:11:18 +03:00
[vmware] Fix length returned by guestrpc_command()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -292,6 +292,7 @@ int guestrpc_command ( int channel, const char *command, char *reply,
|
|||||||
if ( status_len ) {
|
if ( status_len ) {
|
||||||
*(status_bytes++) = ( data & 0xff );
|
*(status_bytes++) = ( data & 0xff );
|
||||||
status_len--;
|
status_len--;
|
||||||
|
len--;
|
||||||
} else if ( reply_len ) {
|
} else if ( reply_len ) {
|
||||||
*(reply_bytes++) = ( data & 0xff );
|
*(reply_bytes++) = ( data & 0xff );
|
||||||
reply_len--;
|
reply_len--;
|
||||||
|
|||||||
Reference in New Issue
Block a user