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

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;