mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
va_list argument should be first for portability.
This commit is contained in:
parent
3ba446981a
commit
1b2a6186ae
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user