summaryrefslogtreecommitdiff
path: root/exa/exa_render.c
diff options
context:
space:
mode:
Diffstat (limited to 'exa/exa_render.c')
-rw-r--r--exa/exa_render.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/exa/exa_render.c b/exa/exa_render.c
index 6f2af8a8f..3974afe87 100644
--- a/exa/exa_render.c
+++ b/exa/exa_render.c
@@ -103,13 +103,13 @@ exaPrintCompositeFallback(CARD8 op,
switch(op)
{
case PictOpSrc:
- sprintf(sop, "Src");
+ snprintf(sop, sizeof(sop), "Src");
break;
case PictOpOver:
- sprintf(sop, "Over");
+ snprintf(sop, sizeof(sop), "Over");
break;
default:
- sprintf(sop, "0x%x", (int)op);
+ snprintf(sop, sizeof(sop), "0x%x", (int)op);
break;
}