Signed-off-by: Homer Hsing <[email protected]>
---
utests/utest_run.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/utests/utest_run.cpp b/utests/utest_run.cpp
index 94fbbee..cd4356a 100644
--- a/utests/utest_run.cpp
+++ b/utests/utest_run.cpp
@@ -69,7 +69,7 @@ int main(int argc, char *argv[])
optarg = argv[1];
}
- {
+ do {
switch (c)
{
case 'c':
@@ -111,7 +111,7 @@ int main(int argc, char *argv[])
usage();
exit(1);
}
- } while ((c = getopt_long (argc, argv, shortopts, longopts, NULL)) != -1)
+ } while ((c = getopt_long (argc, argv, shortopts, longopts, NULL)) != -1);
cl_ocl_destroy();
}
--
1.8.3.2
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet