summaryrefslogtreecommitdiff
path: root/runner
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2018-11-27 12:58:16 +0200
committerPetri Latvala <petri.latvala@intel.com>2018-11-27 14:56:10 +0200
commit760106abf8f0ab8683fd61c858f1fb77686e5405 (patch)
treed35992a87e2a9a0793007f35bf86e091e45c88c8 /runner
parenta6b514d242bddd9457f04bb25cde0ddf85032b65 (diff)
runner: Use %lx for printing unsigned longs
../runner/executor.c:555:54: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] fprintf(stderr, "Child refuses to die, tainted %x. Aborting.\n", ~^ Fixes: a6b514d242bd ("runner: Be patient for processes to die") Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'runner')
-rw-r--r--runner/executor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runner/executor.c b/runner/executor.c
index 62901d86..4a0a1219 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -552,7 +552,7 @@ static int monitor_output(pid_t child,
/* Nothing that can be done, really. Let's tell the caller we want to abort. */
if (settings->log_level >= LOG_LEVEL_NORMAL) {
- fprintf(stderr, "Child refuses to die, tainted %x. Aborting.\n",
+ fprintf(stderr, "Child refuses to die, tainted %lx. Aborting.\n",
taints);
}
close_watchdogs(settings);