tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] netbsd32 swapctl, round 4
On Mon, Feb 03, 2014 at 10:38:15PM +1100, matthew green wrote:
> > > >+ kmem_free(sep32, sizeof(*sep32));
> > > The sizes are wrong.
> > How are they wrong?
> missing * count. ouch. kmem_free() is easy to use wrongly.
Yep, no warning.
I will now commit with this fixed.
--
Emmanuel Dreyfus
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index