aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/gamma-linux-drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gamma-linux-drm.c b/src/lib/gamma-linux-drm.c
index f192310..8d6a0e9 100644
--- a/src/lib/gamma-linux-drm.c
+++ b/src/lib/gamma-linux-drm.c
@@ -655,7 +655,7 @@ static int read_connector_data(libgamma_crtc_state_t* restrict crtc, libgamma_cr
c++;
/* Construct and store connect name that is unique to the graphics card. */
- sprintf(out->connector_name, "%s-" PRIu32, connector_name_base, (uint32_t)(c + 1));
+ sprintf(out->connector_name, "%s-%" PRIu32, connector_name_base, (uint32_t)(c + 1));
}
/* Did something go wrong? */