summaryrefslogtreecommitdiff
path: root/system/alpha/console/printf.c
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-05-17 17:49:47 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-05-17 17:49:47 -0400
commit8810fb73c6a5e153fa01571d163b8673e52405e4 (patch)
tree8429f446344dcd0ce2c7889bfd08557ca9f8c28e /system/alpha/console/printf.c
parentf33cf070c7082e928535431dfd7b5ca51f3b1b8d (diff)
parent31ac4ce14032ee8bc3f44a9a600bd006f054077b (diff)
downloadgem5-8810fb73c6a5e153fa01571d163b8673e52405e4.tar.xz
Merge zeep.eecs.umich.edu:/m5/Bitkeeper/alpha-system
into zeep.eecs.umich.edu:/.automount/zizzer/y/saidi/work/alpha-system
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);