DragonFly BSD
DragonFly users List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Easy c debugging question


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Tue, 29 Mar 2005 18:30:49 -0800


On Wed, 30 Mar 2005, Joerg Sonnenberger wrote:

> On Tue, Mar 29, 2005 at 04:10:35PM -0800, Matthew Dillon wrote:
> >     Umm.  Try the initialized pointer being passed to
> >     kinfo_get_sched_cputime().

> Right, kinfo_get_sched_cputime(&cputime), with cputime being
> a local variable of type struct kinfo_cputime. That's another mistake :)

You Big Kids. please take pity on us bonehead Little Kids!  Is the 'mistake'
in my original c code?  I wouldn't doubt for a second that I made a mistake,
(I'm quite sure I did) but I can't tell from the above just what my mistake
was.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]