| * Copyright (C) 2000, 2001 Jeff Dike (jdike@karaya.com) |
| int load_initrd(char *filename, void *buf, int size) |
| fd = os_open_file(filename, of_read(OPENFLAGS()), 0); |
| printk("Opening '%s' failed - err = %d\n", filename, -fd); |
| n = os_read_file(fd, buf, size); |
| printk("Read of %d bytes from '%s' failed, err = %d\n", size, |
| * Overrides for Emacs so that we follow Linus's tabbing style. |
| * Emacs will notice this stuff at the end of the file and automatically |
| * adjust the settings for this buffer only. This must remain at the end |
| * --------------------------------------------------------------------------- |