Good Morning! > > Am Dienstag, 22. April 2003 12:38 schrieb John Navil Joseph: > > On Mon, Apr 21, 2003 at 02:37:12PM -0500, Curran, Dominic wrote: > > > mymod.c:128: parse error before `)' > > > > > > > > > Line 128 is: > > > > > > MSG("ENTER: mymod_open()\n"); > > > > > > However, if I change the line to take a parameter: > > > > > > MSG("ENTER: mymod_open(%i)\n", num); > > > > > > then it compiles without error. > > > > hi, > > > > i tried to compile ur program in user space by converting the kernel > > jargon to user space stuff. > > > > #define KERN_INFO "<6>" > > #define jiffies 8345734 > > #define printk printf > > > > #define MSG(string, args...) printk(KERN_INFO "MYMOD[%lu]: "string, > > jiffies, ##args) > I've got another questions: What does ##args mean? I looked for it in my C reference, but I couldn't find it. Of course I know that args is a arameter for the MSG - macro, but what do the ## do? > > > john > Thanks, Steffen Menne -- Steffen Menne Germany -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/