summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Scherer <misc@mandriva.org>2009-03-07 13:13:04 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2009-03-07 13:13:04 +0100
commit041e6e460d0df14f206ecea14cb77925ea029891 (patch)
treecef305158ac9316b827c4184923b980782c7b43a
parent1f0cc20f6f558ddc059e354453c51fea32f3ee92 (diff)
Fix format string error
-rw-r--r--xkbevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkbevd.c b/xkbevd.c
index fc5f8c1..8ea7987 100644
--- a/xkbevd.c
+++ b/xkbevd.c
@@ -411,7 +411,7 @@ int ok;
return True;
case EchoAction:
if (cfg->action.text!=NULL) {
- sprintf(buf,cfg->action.text);
+ sprintf(buf,"%s",cfg->action.text);
cmd= SubstituteEventArgs(buf,ev);
printf("%s",cmd);
}