summaryrefslogtreecommitdiffstats
path: root/src/blueshift_drm_c.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-12 04:40:26 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-12 04:40:26 +0100
commit21ad03fd620a545208579a8fe59dc2742de3b7b5 (patch)
treef02e2e69585cda7f1696ec04eee9253aa3da30dc /src/blueshift_drm_c.c
parentmonitor data (diff)
downloadblueshift-21ad03fd620a545208579a8fe59dc2742de3b7b5.tar.gz
blueshift-21ad03fd620a545208579a8fe59dc2742de3b7b5.tar.bz2
blueshift-21ad03fd620a545208579a8fe59dc2742de3b7b5.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/blueshift_drm_c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blueshift_drm_c.c b/src/blueshift_drm_c.c
index afd27d9..f045b97 100644
--- a/src/blueshift_drm_c.c
+++ b/src/blueshift_drm_c.c
@@ -177,9 +177,9 @@ int main(int argc, char** argv)
printf("Connected: %i\n", connector->connection == DRM_MODE_CONNECTED);
/* DRM_MODE_DISCONNECTED DRM_MODE_UNKNOWNCONNECTION */
printf("Encoder: %i\n", connector->encoder_id);
- static char* types[] = {"Unknown", "VGA", "DVII", "DVID", "DVIA", "Composite", "SVIDEO", "LVDS",
- "Component", "9PinDIN", "DisplayPort", "HDMIA", "HDMIB", "TV", "eDP",
- "VIRTUAL", "DSI"};
+ static const char* types[] = {"Unknown", "VGA", "DVII", "DVID", "DVIA", "Composite", "SVIDEO", "LVDS",
+ "Component", "9PinDIN", "DisplayPort", "HDMIA", "HDMIB", "TV", "eDP",
+ "VIRTUAL", "DSI"};
printf("Type: %s (%i)\n", types[connector->connector_type], connector->connector_type);
int i;
for (i = 0; i < connector->count_props; i++)