From: Samuel Pitoiset Date: Fri, 7 Jul 2017 07:52:05 +0000 (+0200) Subject: ddebug: fix parsing of the pipelined mode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c745beaf10d4643024decbb06ceba3e2e56a0c79;p=mesa.git ddebug: fix parsing of the pipelined mode Trivial. Signed-off-by: Samuel Pitoiset Reviewed-by: Marek Olšák --- diff --git a/src/gallium/drivers/ddebug/dd_screen.c b/src/gallium/drivers/ddebug/dd_screen.c index a5d2be1402d..14e6f6b011f 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)