summaryrefslogtreecommitdiff
path: root/tests/modetest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modetest')
-rw-r--r--tests/modetest/modetest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index 124bf568..faad0b79 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -143,9 +143,9 @@ void dump_encoders(void)
void dump_mode(drmModeModeInfo *mode)
{
- printf(" %s %.02f %d %d %d %d %d %d %d %d\n",
+ printf(" %s %d %d %d %d %d %d %d %d %d\n",
mode->name,
- (float)mode->vrefresh / 1000,
+ mode->vrefresh,
mode->hdisplay,
mode->hsync_start,
mode->hsync_end,