public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] runner: Use %lx for printing unsigned longs
@ 2018-11-27 10:58 Petri Latvala
  2018-11-27 11:04 ` Chris Wilson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Petri Latvala @ 2018-11-27 10:58 UTC (permalink / raw)
  To: igt-dev; +Cc: Petri Latvala

../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>
---
 runner/executor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
2.19.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-27 12:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-27 10:58 [igt-dev] [PATCH i-g-t] runner: Use %lx for printing unsigned longs Petri Latvala
2018-11-27 11:04 ` Chris Wilson
2018-11-27 11:44 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-11-27 12:45 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox