Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/external/cddl/osnet
On Sat, 24 Apr 2010 00:29:32 +0000 (UTC)
christos%astron.com@localhost (Christos Zoulas) wrote:
> In article <20100423113953.7C164175DD%cvs.netbsd.org@localhost>,
> Adam Hoka <source-changes-d%NetBSD.org@localhost> wrote:
> >-=-=-=-=-=-
> >
> >Module Name: src
> >Committed By: ahoka
> >Date: Fri Apr 23 11:39:53 UTC 2010
> >
> >Modified Files:
> > src/external/cddl/osnet/dev/dtrace: dtrace_sysctl.c dtrace_unload.c
> > src/external/cddl/osnet/dev/dtrace/amd64: dtrace_subr.c
> > src/external/cddl/osnet/dev/dtrace/i386: dtrace_subr.c
> > src/external/cddl/osnet/dist/uts/common/dtrace: dtrace.c
> >
> >Log Message:
> >Remove a couple of zero length kmem_frees.
> >
> >It should fix at least one crash when unloading the dtrace module,
> >possibly many others.
>
> please use sizeof(*var) instead of sizeof(type)
>
> christos
>
I used them the same way as the kmem_allocs in the code.
--
NetBSD - Simplicity is prerequisite for reliability
Home |
Main Index |
Thread Index |
Old Index