1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00

libDtTerm: Resolve all -Wformat-security warnings.

This commit is contained in:
Peter Howkins 2012-08-27 20:36:59 +01:00
parent 93428391db
commit 31c2131935

View file

@ -2197,7 +2197,7 @@ _DtTermParseSunMisc /* Misc sun esc seqs */
s = XtMalloc(strlen(icon) + strlen(fmt) + 1);
else
s = buf;
sprintf(s,fmt);
sprintf(s, "%s", fmt);
sendEscSequence(w,s) ;
if (s != buf) XtFree(s);
break ;
@ -2208,7 +2208,7 @@ _DtTermParseSunMisc /* Misc sun esc seqs */
s = XtMalloc(strlen(icon) + strlen(fmt) + 1);
else
s = buf;
sprintf(s,fmt);
sprintf(s, "%s", fmt);
sendEscSequence(w,s) ;
if (s != buf) XtFree(s);
break ;