patch-2.4.6 linux/arch/ppc/boot/common/misc-common.c
Next file: linux/arch/ppc/boot/mbx/Makefile
Previous file: linux/arch/ppc/boot/chrp/main.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Jul 2 14:34:57 2001
- Orig file:
v2.4.5/linux/arch/ppc/boot/common/misc-common.c
- Orig date:
Thu May 24 15:02:06 2001
diff -u --recursive --new-file v2.4.5/linux/arch/ppc/boot/common/misc-common.c linux/arch/ppc/boot/common/misc-common.c
@@ -38,7 +38,7 @@
/* If we're on a ALL_PPC, assume we have a keyboard controller
* Also note, if we're not ALL_PPC, we assume you are a serial
* console - Tom */
-#ifdef CONFIG_ALL_PPC
+#if defined(CONFIG_ALL_PPC) && defined(CONFIG_VGA_CONSOLE)
extern void cursor(int x, int y);
extern void scroll(void);
extern char *vidmem;
@@ -268,7 +268,7 @@
s.zfree = zfree;
r = inflateInit2(&s, -MAX_WBITS);
if (r != Z_OK) {
- puts("inflateInit2 returned %d\n");
+ puts("inflateInit2 returned "); puthex(r); puts("\n");
exit();
}
s.next_in = src + i;
@@ -277,7 +277,7 @@
s.avail_out = dstlen;
r = inflate(&s, Z_FINISH);
if (r != Z_OK && r != Z_STREAM_END) {
- puts("inflate returned %d\n");
+ puts("inflate returned "); puthex(r); puts("\n");
exit();
}
*lenp = s.next_out - (unsigned char *) dst;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)