Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1550 → Rev 1549

/demos/trunk/pngdemo/pngdemo.c
38,7 → 38,7
FILE *fp = fopen(file_name, "rb");
if (!fp) {
cprintf("[read_png_file] File %s could not be opened for reading", file_name);
exit(1);
sys_end();
}
fread(header, 1, 8, fp);
/demos/trunk/pngdemo/initfile.c
36,11 → 36,11
*/
 
/*
* CVS : $Id: initfile.c,v 1.3 2005-01-08 14:38:06 pj Exp $
* CVS : $Id: initfile.c,v 1.2 2003-03-20 14:59:20 giacomo Exp $
*
* File: $File$
* Revision: $Revision: 1.3 $
* Last update: $Date: 2005-01-08 14:38:06 $
* Revision: $Revision: 1.2 $
* Last update: $Date: 2003-03-20 14:59:20 $
*/
 
#include "kernel/kern.h"
112,7 → 112,8
root_device=bdev_scan_devices(choose_root_callback);
if (root_device<0) {
cprintf("can't find root device to mount on /!!!\n");
exit(1);
sys_end();
return -1;
}
 
return 0;