aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/util.c')
-rw-r--r--backend/drm/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/util.c b/backend/drm/util.c
index b25d9c8c..d56eee38 100644
--- a/backend/drm/util.c
+++ b/backend/drm/util.c
@@ -116,7 +116,7 @@ void parse_edid(struct wlr_drm_connector *conn, size_t len, const uint8_t *data)
}
output->model = strdup(model_str);
- if (output->serial[0] != '\0') {
+ if (serial_str[0] != '\0') {
output->serial = strdup(serial_str);
}
}