summaryrefslogtreecommitdiff
path: root/tests/modetest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modetest')
-rw-r--r--tests/modetest/modetest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index ac3c9e3d..bee1a36b 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -264,8 +264,10 @@ static void dump_blob(struct device *dev, uint32_t blob_id)
drmModePropertyBlobPtr blob;
blob = drmModeGetPropertyBlob(dev->fd, blob_id);
- if (!blob)
+ if (!blob) {
+ printf("\n");
return;
+ }
blob_data = blob->data;