Created
June 5, 2020 20:59
-
-
Save bagder/87199803bc18ab2c30598df23c9058b5 to your computer and use it in GitHub Desktop.
patch to fix armv7 test server crash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tests/server/util.c b/tests/server/util.c | |
index 75f3cb1b6..414d7194f 100644 | |
--- a/tests/server/util.c | |
+++ b/tests/server/util.c | |
@@ -288,11 +288,11 @@ int write_pidfile(const char *filename) | |
*/ | |
pid += 65536; | |
#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 */ | |
} | |
/* store the used port number in a file */ | |
int write_portfile(const char *filename, int port) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment