diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2004-05-17 17:49:47 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2004-05-17 17:49:47 -0400 |
commit | 8810fb73c6a5e153fa01571d163b8673e52405e4 (patch) | |
tree | 8429f446344dcd0ce2c7889bfd08557ca9f8c28e /system/alpha/console/printf.c | |
parent | f33cf070c7082e928535431dfd7b5ca51f3b1b8d (diff) | |
parent | 31ac4ce14032ee8bc3f44a9a600bd006f054077b (diff) | |
download | gem5-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.c | 2 |
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); |