From 8969b839b544e73a9242adb025562b1dc9ec5916 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Tue, 7 Jun 2011 13:28:19 -0700 Subject: [PATCH] testdisplay: fix error output if test pattern draw fails --- tests/testdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testdisplay.c b/tests/testdisplay.c index 18fd214..8859d55 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -854,7 +854,7 @@ set_mode(struct connector *c) status = cairo_status(cr); cairo_destroy(cr); if (status) - fprintf(stderr, "failed to draw pretty picture %x%d: %s\n", + fprintf(stderr, "failed to draw pretty picture %dx%d: %s\n", width, height, cairo_status_to_string(status)); ret = drmModeAddFB(fd, width, height, depth, bpp, -- 2.7.4