From 31ac4ce14032ee8bc3f44a9a600bd006f054077b Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Mon, 17 May 2004 17:49:19 -0400 Subject: console code now builds on zizzer console/Makefile: Updated to build on linux and removed lots of crud that compiled, disassembled, and then reassembled console/dbmentry.s: the assembler didn't like they comments, so I removed them console/printf.c: Gcc was very unhappy, so I fixed this line h/lib.h: time_t is defined in a std header, and this was causing some problems --- system/alpha/console/printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/alpha/console/printf.c') diff --git a/system/alpha/console/printf.c b/system/alpha/console/printf.c index 24efa802e..21a449b2f 100644 --- a/system/alpha/console/printf.c +++ b/system/alpha/console/printf.c @@ -219,7 +219,7 @@ FormatItem(const char *f, va_list *ap) case '-': leftjust = TRUE; break; case 'c': { - char a = va_arg(*ap, char); + char a = va_arg(*ap, char *); if (leftjust) PutChar(a & 0x7f); if (fieldwidth > 0) PutRepChar(fill, fieldwidth - 1); -- cgit v1.2.3