va_list argument should be first for portability.

This commit is contained in:
Pavel Roskin 2003-11-20 19:08:36 +00:00
parent 3ba446981a
commit 1b2a6186ae

View File

@ -281,8 +281,8 @@ undelfs_loaddel (void)
void
com_err (const char *whoami, long err_code, const char *fmt, ...)
{
char *str;
va_list ap;
char *str;
va_start (ap, fmt);
str = g_strdup_vprintf (fmt, ap);