diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2012-06-08 13:28:16 +0300 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2014-11-24 19:54:35 -0500 |
commit | c2c0346e1f5ddec4f6497d7c6359157c5f32d442 (patch) | |
tree | 7c421db8b6d9d203d12b8baf841472e52f851403 /tests/modetest | |
parent | b958d76f7794143380a79f656fc71cc924422bdc (diff) |
modetest: Print newline for empty blobs
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'tests/modetest')
-rw-r--r-- | tests/modetest/modetest.c | 4 |
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; |