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>main
parent
b958d76f77
commit
c2c0346e1f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue