Index: kernel/module.c =================================================================== RCS file: /inst/cvs/linux/kernel/module.c,v retrieving revision 1.1.1.1.2.11 diff -u -r1.1.1.1.2.11 module.c --- kernel/module.c 2000/11/10 14:56:37 1.1.1.1.2.11 +++ kernel/module.c 2000/11/27 13:50:32 @@ -100,7 +100,8 @@ spin_unlock(&ime_lock); kfree(ime_new); /* Program logic error, fatal */ - panic("inter_module_register: duplicate im_name '%s'", im_name); + printk(KERN_ERR "inter_module_register: duplicate im_name +'%s'", im_name); + BUG(); } } list_add(&(ime_new->list), &ime_list); @@ -140,7 +141,8 @@ } else { /* Program logic error, fatal */ - panic("inter_module_unregister: no entry for '%s'", im_name); + printk(KERN_ERR "inter_module_unregister: no entry for '%s'", im_name); + BUG(); } } @@ -211,7 +213,8 @@ } } spin_unlock(&ime_lock); - panic("inter_module_put: no entry for '%s'", im_name); + printk(KERN_ERR "inter_module_put: no entry for '%s'", im_name); + BUG(); } -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/