Re: big problems (fwd)

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

 



On Mon, Jul 07, 2003 at 10:56:08AM -0400, Zwane Mwaikambo forwarded:
> int init_module () {
>   unsigned long time;
>   do_gettimeofday (&xtime);

Where did you declare xtime?

>   time = time.tv_sec;
>   printk ("%u" + time);
>   return (0);

> the above code gives me segmentation fault...any idea why?

-- 
Join the fight against terrorism by giving up your liberties today!

Attachment: pgp00471.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux