=================================================================== RCS file: /cvs/prex-old/usr/test/exception/exception.c,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.2.1 diff -u -r1.1.1.1 -r1.1.1.1.2.1 --- prex-old/usr/test/exception/exception.c 2008/06/03 10:38:51 1.1.1.1 +++ prex-old/usr/test/exception/exception.c 2008/08/13 17:12:46 1.1.1.1.2.1 @@ -35,11 +35,11 @@ #include static void -my_exception(int code, void *regs) +my_exception(int code) { - printf("Get exception code=%x regs=%x\n", code, (u_int)regs); + printf("Get exception code=%x\n", code); - exception_return(regs); + exception_return(); /* Control never comes here */ panic("Ooops!");