From c2c0346e1f5ddec4f6497d7c6359157c5f32d442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= Date: Fri, 8 Jun 2012 13:28:16 +0300 Subject: modetest: Print newline for empty blobs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ville Syrjälä Signed-off-by: Rob Clark --- tests/modetest/modetest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/modetest/modetest.c') 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; -- cgit v1.2.3