mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
server/util: fix logmsg format using curl_off_t argument
... this caused segfaults on armv7. Regression added in dd0365d560aea5a (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…
x
Reference in New Issue
Block a user