Removed all traces of sprintf() from all server code and
from all drivers. All drivers compile without warnings.
This commit is contained in:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user