summaryrefslogtreecommitdiff
path: root/ldso/ldso/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/ldso/vsprintf.c')
-rw-r--r--ldso/ldso/vsprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldso/ldso/vsprintf.c b/ldso/ldso/vsprintf.c
index 4ca1acffc..959c24080 100644
--- a/ldso/ldso/vsprintf.c
+++ b/ldso/ldso/vsprintf.c
@@ -271,11 +271,13 @@ int _dl_fdprintf(int fd, const char *fmt, ...)
}
if (qualifier == 'l')
num = va_arg(args, unsigned long);
+#ifndef __powerpc__
else if (qualifier == 'h')
if (flags & SIGN)
num = va_arg(args, short);
else
num = va_arg(args, unsigned short);
+#endif
else if (flags & SIGN)
num = va_arg(args, int);
else