aboutsummaryrefslogtreecommitdiff
path: root/libiberty/_doprnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/_doprnt.c')
-rw-r--r--libiberty/_doprnt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/_doprnt.c b/libiberty/_doprnt.c
index ca97bc8..9723f32 100644
--- a/libiberty/_doprnt.c
+++ b/libiberty/_doprnt.c
@@ -222,11 +222,11 @@ static int
checkit (const char* format, ...)
{
int result;
- VA_OPEN (args, format);
- VA_FIXEDARG (args, char *, format);
+ va_list args;
+ va_start (args, format);
result = _doprnt (format, args, stdout);
- VA_CLOSE (args);
+ va_end (args);
return result;
}