From: Erik M. <er...@us...> - 2003-01-04 02:15:10
|
Update of /cvsroot/blob/blob/src/lib In directory sc8-pr-cvs1:/tmp/cvs-serv26547/src/lib Modified Files: reboot.c Log Message: Oops, obvious bug Index: reboot.c =================================================================== RCS file: /cvsroot/blob/blob/src/lib/reboot.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- reboot.c 4 Jan 2003 02:11:43 -0000 1.5 +++ reboot.c 4 Jan 2003 02:15:07 -0000 1.6 @@ -41,8 +41,10 @@ void reboot_system(void) { - if(reboot_driver == NULL) + if(reboot_driver == NULL) { deprintf("reboot_driver == NULL, can't reboot!\n"); + return; + } reboot_driver->reboot(); } |