tools: fix syntax error 52/161752/2
authorBoram Park <boram1288.park@samsung.com>
Mon, 27 Nov 2017 08:44:40 +0000 (17:44 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 27 Nov 2017 11:21:33 +0000 (11:21 +0000)
Change-Id: I0d857f566ed34dcd415939b7b2fe4b4062320f7f

tools/tdm_test_server.c

index ff7b542b541a5450b3ce4789716c2b70c91ad8b6..af3c303bb419f109c0393dc8916aacffbe77c599 100644 (file)
@@ -930,7 +930,7 @@ output_setup(tdm_test_server_output *o)
                }
                if (!best)
                        best = &modes[i];
-               if (modes[i].flags & TDM_OUTPUT_MODE_TYPE_PREFERRED)
+               if (modes[i].type & TDM_OUTPUT_MODE_TYPE_PREFERRED)
                        prefer = &modes[i];
        }
        if (!found && prefer) {