summaryrefslogtreecommitdiff
path: root/drm-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drm-common.c')
-rw-r--r--drm-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drm-common.c b/drm-common.c
index 0262816..b69ed70 100644
--- a/drm-common.c
+++ b/drm-common.c
@@ -152,7 +152,7 @@ int init_drm(struct drm *drm, const char *device)
return -1;
}
- /* find prefered mode or the highest resolution mode: */
+ /* find preferred mode or the highest resolution mode: */
for (i = 0, area = 0; i < connector->count_modes; i++) {
drmModeModeInfo *current_mode = &connector->modes[i];