mirror of
https://github.com/curl/curl.git
synced 2026-04-24 14:22:11 +03:00
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:
parent
47d8730d3f
commit
2705830f2f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue