boot: restore setting stack size, and remove wrong experimental
#ifndef DOS that shouldn't have been committed.
This commit is contained in:
parent
50539c12f5
commit
ac310cbe09
2 changed files with 4 additions and 2 deletions
|
@ -30,6 +30,10 @@ LDADD.boot= -lsys
|
|||
BINDIR.boot= /usr/mdec
|
||||
MAN.boot=
|
||||
|
||||
all: .PHONY bootsize
|
||||
bootsize: boot
|
||||
${INSTALL} -S 22kb boot
|
||||
|
||||
SRCS.masterboot= masterboot.s
|
||||
CPPFLAGS.masterboot.s= ${I86CPPFLAGS}
|
||||
LDFLAGS.masterboot= ${I86LDFLAGS}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue