server/util: fix logmsg format using curl_off_t argument
... this caused segfaults on armv7.
Regression added in dd0365d560
(7.70.0)
Reviewed-by: Jay Satiro
Closes #5529
This commit is contained in:
Родитель
47d8730d3f
Коммит
2705830f2f
|
@ -290,7 +290,7 @@ int write_pidfile(const char *filename)
|
|||
#endif
|
||||
fprintf(pidfile, "%" CURL_FORMAT_CURL_OFF_T "\n", pid);
|
||||
fclose(pidfile);
|
||||
logmsg("Wrote pid %ld to %s", pid, filename);
|
||||
logmsg("Wrote pid %" CURL_FORMAT_CURL_OFF_T " to %s", pid, filename);
|
||||
return 1; /* success */
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче