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

from all drivers.  All drivers compile without warnings.
This commit is contained in:
ddouthitt committed 2001-09-25 15:02:33 +00:00
1 parent 0307a9112e
commit 44e7f83dfd
8 files changed
+33 -33

No files matched your search

+1 -1
View File
@@ -669,7 +669,7 @@ void bayrad_set_char(int n, char *dat)
n = 0x40 + (n * 8); /* Set n to the proper location in CG RAM */
/* Set the LCD to accept data for rewrite-able char n */
sprintf(out, "\x88%c", n);
snprintf(out, sizeof(out), "\x88%c", n);
write(fd, out, 2);
for(row=0; row<lcd.cellhgt; row++)