vinum_mallocinfo:

Set the entry number correctly.
This commit is contained in:
Greg Lehey 1999-05-02 07:50:38 +00:00
parent b3a717f1a8
commit 3041dc10ba
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ int
vinum_mallocinfo(caddr_t data)
{
struct mc *m = (struct mc *) data;
unsigned int ent = *(int *) data; /* 1st word is index */
unsigned int ent = m->seq; /* index of entry to return */
if (ent >= malloccount)
return ENOENT;