diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-06-05 23:03:04 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-06-06 13:25:56 +0200 |
commit | 2705830f2fa0f7831e45fd4550dbe645136ab41c (patch) | |
tree | d286d027e6993a9befaa6f35666e5c20b22a9c11 | |
parent | 47d8730d3f90b61e8981c90f1e461f7531bb10ef (diff) |
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
-rw-r--r-- | tests/server/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/util.c b/tests/server/util.c index 75f3cb1b6..577a56cb2 100644 --- a/tests/server/util.c +++ b/tests/server/util.c @@ -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 */ } |