mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix format specifier warning
* src/utils.c (aprintf): Use %d for int argument
This commit is contained in:
parent
0e6d6ca963
commit
6b8dfe1d6e
@ -336,7 +336,7 @@ aprintf (const char *fmt, ...)
|
|||||||
{ /* maybe we have some wrong
|
{ /* maybe we have some wrong
|
||||||
format string? */
|
format string? */
|
||||||
logprintf (LOG_ALWAYS,
|
logprintf (LOG_ALWAYS,
|
||||||
_("%s: aprintf: text buffer is too big (%ld bytes), "
|
_("%s: aprintf: text buffer is too big (%d bytes), "
|
||||||
"aborting.\n"),
|
"aborting.\n"),
|
||||||
exec_name, size); /* printout a log message */
|
exec_name, size); /* printout a log message */
|
||||||
abort (); /* and abort... */
|
abort (); /* and abort... */
|
||||||
|
Loading…
Reference in New Issue
Block a user