Skip to contentSkip to conversation

Patch

PATCH Tommy McCabe 1 participant 1 message Feb 28, 2004

lore
Share & tools
lore
#0 lore raw

This is a patch that fixes three annoying little bugs in 0.13pre1:

#1, the extra set of parentheses in
elks/arch/i86/boot/setup.S which it won't compile
with;

#2, the extra set of apostrophes in elks/kernel/printk.c which will cause the kernel to print out weird messages filled with 0's;

#3, the /mnt/elks in elkscmd/Make.defs is changed to /mnt/test.

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

Index: elks/arch/i86/boot/setup.S
===================================================================
RCS file: /cvsroot/elks/elks/arch/i86/boot/setup.S,v retrieving revision 1.11

arch/i86/boot/setup.S +1 -1
diff -u -r1.11 setup.S
@@ -585,7 +585,7 @@
 	or	al,al
 	jnz	is486
 #endif
-#ifdef(CONFIG_CPU_80386)
+#ifdef CONFIG_CPU_80386
         mov cl,#7
 	lea	si,p80386
 	br	getfpu

Index: elks/kernel/printk.c
===================================================================
RCS file: /cvsroot/elks/elks/kernel/printk.c,v
retrieving revision 1.19

kernel/printk.c +1 -1
diff -u -r1.19 printk.c
@@ -136,7 +136,7 @@
 		continue;
 	    }
 
-	    width = zero = '0';
+	    width = zero = 0;
 	    if (c == '0')
 		zero++;
 	    while (c >= '0' && c <= '9') {

Index: elkscmd/Make.defs
===================================================================
RCS file: /cvsroot/elks/elkscmd/Make.defs,v
retrieving revision 1.15

Make.defs +1 -1
diff -u -r1.15 Make.defs
@@ -159,7 +159,7 @@
 endif
 
 ifeq ($(TARGET_MODE),LOOP)
-TARGET_MNT=/mnt/elks
+TARGET_MNT=/mnt/test
 LOOP=-o loop
 endif