summaryrefslogtreecommitdiff
path: root/system/alpha/console/printf.c
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-05-17 17:49:19 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-05-17 17:49:19 -0400
commit31ac4ce14032ee8bc3f44a9a600bd006f054077b (patch)
treeb0bbef85fbc58ea88a0da0c2ad597cff23302673 /system/alpha/console/printf.c
parentb582b5058e1ecfc4f8a38c74ff111bed47d9fdbb (diff)
downloadgem5-31ac4ce14032ee8bc3f44a9a600bd006f054077b.tar.xz
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
Diffstat (limited to 'system/alpha/console/printf.c')
-rw-r--r--system/alpha/console/printf.c2
1 files changed, 1 insertions, 1 deletions
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);