Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
if(!strncmp(charsets[i].charset, mm[j], lth)) {
if(ct++)
fprintf(f, ",");
- fprintf(f, charsets[i].charset+lth);
+ fprintf(f, "%s", charsets[i].charset+lth);
}
}
fprintf(f, "}");
static void
send_escseq(int fd, char *seq, int n) {
if (write(fd, seq, n) != n) /* maybe fd is read-only */
- printf(seq);
+ printf("%s", seq);
}
void
default:
s = _("Strange mode for Meta key?\n");
}
- printf(s);
+ printf("%s", s);
}
struct meta {
printf(" ");
for(j=0; j < cols && i+j*rows < n; j++) {
putchar(BASE + (i%nr)*cols+j);
- printf(sep);
+ printf("%s", sep);
if (j%8 == 7)
- printf(sep);
+ printf("%s", sep);
}
putchar('\n');
if (i%8 == 7)