I need some help with printk. Well, I'm trying to obtain what is containing a kernel structure that I've created. It has two fields that are unsigned long and I need to know if they have the value that the user is passing to the kernel through a system call.
I've done printk ( " %d \n", structfield) but it doesn't work. I also have changed the %d for a %l but it is still not working.
What's the correct syntax for printing an unsigned long in a structure?
Thanks in advance.
Cristina.
_________________________________________________________________
Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/