ddebug: fix parsing of the pipelined mode

Trivial.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Samuel Pitoiset 2017-07-07 09:52:05 +02:00
parent 9ee67467c9
commit c745beaf10

View file

@ -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)