summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-02-17 14:09:12 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-02-17 14:09:12 +0100
commit51c6ae4c3a0e5527d3c6e1632b21546baaba0b29 (patch)
treed1973d04370ee265eb4519b2aad0867423b97f0d
parent17762467850618323f59e91702e3fc0749fbceac (diff)
downloadlibdrm-51c6ae4c3a0e5527d3c6e1632b21546baaba0b29.tar.gz
libdrm-51c6ae4c3a0e5527d3c6e1632b21546baaba0b29.tar.bz2
libdrm-51c6ae4c3a0e5527d3c6e1632b21546baaba0b29.zip
tests/modeprint: Output masks as hex numbers
-rw-r--r--tests/modeprint/modeprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modeprint/modeprint.c b/tests/modeprint/modeprint.c
index 4c612f41..09b8df0a 100644
--- a/tests/modeprint/modeprint.c
+++ b/tests/modeprint/modeprint.c
@@ -193,8 +193,8 @@ int printEncoder(int fd, drmModeResPtr res, drmModeEncoderPtr encoder, uint32_t
printf("\tid :%i\n", id);
printf("\tcrtc_id :%d\n", encoder->crtc_id);
printf("\ttype :%d\n", encoder->encoder_type);
- printf("\tpossible_crtcs :%d\n", encoder->possible_crtcs);
- printf("\tpossible_clones :%d\n", encoder->possible_clones);
+ printf("\tpossible_crtcs :0x%x\n", encoder->possible_crtcs);
+ printf("\tpossible_clones :0x%x\n", encoder->possible_clones);
return 0;
}