summaryrefslogtreecommitdiff
path: root/tests/core_getstats.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core_getstats.c')
-rw-r--r--tests/core_getstats.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/core_getstats.c b/tests/core_getstats.c
index 7975257d..cce8271b 100644
--- a/tests/core_getstats.c
+++ b/tests/core_getstats.c
@@ -35,7 +35,7 @@
* I don't care too much about the actual contents, just that the kernel
* doesn't crash.
*/
-int main(int argc, char **argv)
+igt_simple_main
{
int fd, ret;
drm_stats_t stats;
@@ -46,5 +46,4 @@ int main(int argc, char **argv)
igt_assert(ret == 0);
close(fd);
- return 0;
}