summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/modetest/modetest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index a5ac5bd5..21d54384 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -314,6 +314,8 @@ static void dump_prop(struct device *dev, drmModePropertyPtr prop,
printf("\t\tvalue:");
if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB))
dump_blob(dev, value);
+ else if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE))
+ printf(" %"PRId64"\n", value);
else
printf(" %"PRIu64"\n", value);
}