summaryrefslogtreecommitdiff
path: root/tests/modeprint
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modeprint')
-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 89719147..4c612f41 100644
--- a/tests/modeprint/modeprint.c
+++ b/tests/modeprint/modeprint.c
@@ -81,8 +81,8 @@ int printMode(struct drm_mode_modeinfo *mode)
printf("\tvrefresh : %i\n", mode->vrefresh);
printf("\tflags : %i\n", mode->flags);
} else {
- printf("Mode: \"%s\" %ix%i %.0f\n", mode->name,
- mode->hdisplay, mode->vdisplay, mode->vrefresh / 1000.0);
+ printf("Mode: \"%s\" %ix%i %i\n", mode->name,
+ mode->hdisplay, mode->vdisplay, mode->vrefresh);
}
return 0;
}