Fixed test_video_display()

Pass empty string instead of NULL.
This commit is contained in:
Martin Pulec
2020-09-15 10:56:03 +02:00
parent 636d1be90d
commit 67a3fbb5c7

View File

@@ -49,7 +49,7 @@ int test_video_display(void)
printf
("Testing video hardware detection ......................................... ");
if (initialize_video_display(NULL, "none", NULL, 0, NULL, &d) != 0) {
if (initialize_video_display(NULL, "none", "", 0, NULL, &d) != 0) {
printf("FAIL\n");
printf(" Cannot intiialize dummy device\n");
return 1;