void-packages/srcpkgs/nsjail/patches/fix-format-error.patch
2018-07-01 15:35:59 +02:00

11 lines
567 B
Diff

--- subproc.cc.orig 2018-07-01 15:34:05.381551578 +0200
+++ subproc.cc 2018-07-01 15:34:10.523598404 +0200
@@ -343,7 +343,7 @@ int reapProc(nsjconf_t* nsjconf) {
if ((uint64_t)diff >= nsjconf->tlimit) {
LOG_I("PID: %d run time >= time limit (%ld >= %" PRId64
") (%s). Killing it",
- pid, (long)diff, (long)nsjconf->tlimit, p.remote_txt.c_str());
+ pid, (long)diff, nsjconf->tlimit, p.remote_txt.c_str());
/*
* Probably a kernel bug - some processes cannot be killed with KILL if
* they're namespaced, and in a stopped state