Hi Tapas,

On Wed, Aug 18, 2010 at 9:12 AM, Tapas Mishra <[email protected]> wrote:
> I wrote following program in my home directory.
>
> #include <linux/kernel.h>
> #include <sys/syscall.h>
> #include <linux/module.h>
> extern void *sys_table[];
> asmlinkage int(*main_sys_exit)(int);

You seem to be missing the line of code that goes here....

> {
>        printk("Sys_exit called with err_code=%d\n",err_code);
>        return main_sys_exit(err_code);
> }
...snip...

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to