Removed all traces of sprintf() from all server code and

from all drivers.  All drivers compile without warnings.
This commit is contained in:
ddouthitt
2001-09-25 15:02:33 +00:00
parent 0307a9112e
commit 44e7f83dfd
8 changed files with 33 additions and 33 deletions
+2 -2
View File
@@ -306,7 +306,7 @@ CFontz_backlight (int on)
char out[4];
if (on) {
snprintf (out, sizeof(out), "%c%c", 14, (unsigned char) (on * 100 / 255));
//sprintf(out, "%c%c", 14, 100);
//snprintf(out, sizeof(out), "%c%c", 14, 100);
} else {
snprintf (out, sizeof(out), "%c%c", 14, 0);
}
@@ -694,7 +694,7 @@ CFontz_draw_frame (char *dat)
write (fd, dat + (CFontz->wid * i), CFontz->wid);
}
/*
sprintf(out, "%c", 1);
snprintf(out, sizeof(out), "%c", 1);
write(fd, out, 1);
write(fd, dat, CFontz->wid*CFontz->hgt);
*/