From c745beaf10d4643024decbb06ceba3e2e56a0c79 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 7 Jul 2017 09:52:05 +0200 Subject: [PATCH] ddebug: fix parsing of the pipelined mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Trivial. Signed-off-by: Samuel Pitoiset Reviewed-by: Marek Olšák --- src/gallium/drivers/ddebug/dd_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/ddebug/dd_screen.c b/src/gallium/drivers/ddebug/dd_screen.c index a5d2be1..14e6f6b 100644 --- a/src/gallium/drivers/ddebug/dd_screen.c +++ b/src/gallium/drivers/ddebug/dd_screen.c @@ -374,7 +374,7 @@ ddebug_screen_create(struct pipe_screen *screen) if (sscanf(option+8, "%u", &apitrace_dump_call) != 1) return screen; - } else if (!strncmp(option, "pipelined", 8)) { + } else if (!strncmp(option, "pipelined", 9)) { mode = DD_DETECT_HANGS_PIPELINED; if (sscanf(option+10, "%u", &timeout) != 1) -- 2.7.4