Diff of /trunk/mkinitrd-magellan/klibc/usr/kinit/ramdisk_load.c
Parent Directory | Revision Log | Patch
revision 1122 by niro, Wed Aug 18 21:11:40 2010 UTC | revision 1297 by niro, Fri May 27 15:12:11 2011 UTC | |
---|---|---|
# | Line 1 | Line 1 |
#include <ctype.h> | ||
1 | #include <errno.h> | #include <errno.h> |
2 | #include <fcntl.h> | #include <fcntl.h> |
3 | #include <stdio.h> | #include <stdio.h> |
# | Line 243 int ramdisk_load(int argc, char *argv[]) | Line 242 int ramdisk_load(int argc, char *argv[]) |
242 | (fssize == 0 && !(is_gzip = !strcmp(fstype, "gzip")))) { | (fssize == 0 && !(is_gzip = !strcmp(fstype, "gzip")))) { |
243 | fprintf(stderr, | fprintf(stderr, |
244 | "Failure loading ramdisk: unknown filesystem type\n"); | "Failure loading ramdisk: unknown filesystem type\n"); |
245 | close(rfd); | |
246 | fclose(wfd); | |
247 | return 0; | return 0; |
248 | } | } |
249 |
|