boot: restore setting stack size, and remove wrong experimental

#ifndef DOS that shouldn't have been committed.
This commit is contained in:
Ben Gras
2010-06-23 16:24:40 +00:00
parent 50539c12f5
commit ac310cbe09
2 changed files with 4 additions and 2 deletions

View File

@@ -767,10 +767,8 @@ char *select_image(char *image)
ino_t image_ino;
struct stat st;
#ifndef DOS
image= strcpy(malloc((strlen(image) + 1 + NAME_MAX + 1)
* sizeof(char)), image);
#endif
fsok= r_super(&block_size) != 0;
if (!fsok || (image_ino= r_lookup(ROOT_INO, image)) == 0) {