2
0
mirror of https://github.com/xcat2/xNBA.git synced 2026-03-25 15:53:29 +00:00

[vmware] Fix length returned by guestrpc_command()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-03-01 14:20:32 +00:00
parent fa538bdbc6
commit cd29df5c08

View File

@@ -292,6 +292,7 @@ int guestrpc_command ( int channel, const char *command, char *reply,
if ( status_len ) {
*(status_bytes++) = ( data & 0xff );
status_len--;
len--;
} else if ( reply_len ) {
*(reply_bytes++) = ( data & 0xff );
reply_len--;