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

Re:do_gettimeofday() system crash



>I insmod a kernel module which calls do_gettimeofday in the following way:
>
>struct timeval *timecount;
>
>do_gettimeofday(timecount);

Just a guess, and I've never used that function, but I'd expect to do:

struct timeval timecount;
do_gettimeofday( &timecount);

Otherwise, how do you actually 'get' the time ??

Matt


----------------------------------------------------------------------
The contents of this communication are confidential to the normal user of
the email address to which it was sent.  If you have received this email
in error, any use, dissemination, forwarding, printing or copying of this
email is strictly prohibited.  If this is the case, please notify the sender
and delete this message.
----------------------------------------------------------------------