diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-02-17 14:09:12 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-02-17 14:09:12 +0100 |
commit | 51c6ae4c3a0e5527d3c6e1632b21546baaba0b29 (patch) | |
tree | d1973d04370ee265eb4519b2aad0867423b97f0d /tests/modeprint | |
parent | 17762467850618323f59e91702e3fc0749fbceac (diff) |
tests/modeprint: Output masks as hex numbers
Diffstat (limited to 'tests/modeprint')
-rw-r--r-- | tests/modeprint/modeprint.c | 4 |
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; } |