diff options
Diffstat (limited to 'xkbcomp.c')
-rw-r--r-- | xkbcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -782,7 +782,7 @@ parseArgs(int argc, char *argv[]) int len; char *ch, *name, buf[128]; if (inDpyName[0] == ':') - sprintf(name = buf, "server%s", inDpyName); + snprintf(name = buf, sizeof(buf), "server%s", inDpyName); else name = inDpyName; |