vinum_mallocinfo:
Set the entry number correctly.
This commit is contained in:
parent
b3a717f1a8
commit
3041dc10ba
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user