tests/modeprint: Output masks as hex numbers

main
Benjamin Franzke 2011-02-17 14:09:12 +01:00
parent 1776246785
commit 51c6ae4c3a
1 changed files with 2 additions and 2 deletions

View File

@ -193,8 +193,8 @@ int printEncoder(int fd, drmModeResPtr res, drmModeEncoderPtr encoder, uint32_t
printf("\tid :%i\n", id); printf("\tid :%i\n", id);
printf("\tcrtc_id :%d\n", encoder->crtc_id); printf("\tcrtc_id :%d\n", encoder->crtc_id);
printf("\ttype :%d\n", encoder->encoder_type); printf("\ttype :%d\n", encoder->encoder_type);
printf("\tpossible_crtcs :%d\n", encoder->possible_crtcs); printf("\tpossible_crtcs :0x%x\n", encoder->possible_crtcs);
printf("\tpossible_clones :%d\n", encoder->possible_clones); printf("\tpossible_clones :0x%x\n", encoder->possible_clones);
return 0; return 0;
} }