debian/patches/no-format
raw| 1 | Description: don't use formatted print where unnecessary |
| 2 | This fixes a "not a literal" -Werror=format-security spurious fail. |
| 3 | |
| 4 | --- meterec-0.9.3.orig/display.c |
| 5 | +++ meterec-0.9.3/display.c |
| 6 | @@ -471,7 +471,7 @@ void display_tiny_meter(struct meterec_s |
| 7 | if (side == IN) |
| 8 | pos = iec_scale( meterec->ports[port].db_in, 5); |
| 9 | |
| 10 | - wprintw(win, blink + 2*pos); |
| 11 | + waddstr(win, blink + 2*pos); |
| 12 | |
| 13 | } |
| 14 |