mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08: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
@ -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…
Reference in New Issue
Block a user