diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-06-07 13:28:19 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-06-07 13:29:01 -0700 |
commit | 8969b839b544e73a9242adb025562b1dc9ec5916 (patch) | |
tree | 063365d44ff1d3fd92b86b605e5b5aaef21b090e | |
parent | b707feb9d51bb3a2e7eb5f172afeae2ef13381e1 (diff) |
testdisplay: fix error output if test pattern draw fails
-rw-r--r-- | tests/testdisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c index 18fd214b..8859d55d 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, |