Oops, add return values for the smap command function. We must have the

warnings set weird or something because gcc didn't warn about this at all.

Submitted by:	ru
This commit is contained in:
jhb 2006-09-29 20:07:16 +00:00
parent 081fcce9b9
commit 4a28927c3c

View File

@ -115,8 +115,9 @@ command_smap(int argc, char *argv[])
int i;
if (smapbase == 0 || smaplen == 0)
return;
return (CMD_ERROR);
for (i = 0; i < smaplen; i++)
printf("SMAP type=%02x base=%016llx len=%016llx\n",
smapbase[i].type, smapbase[i].base, smapbase[i].length);
return (CMD_OK);
}