1 Description: add format argument to sprintf call to prevent failure with -Werror=format-security
3 Bug-Debian: http://bugs.debian.org/bug=643390
5 Author: gregor herrmann <gregoa@debian.org>
6 Last-Update: 2011-12-19
8 --- a/barcode-0.98/plessey.c
9 +++ b/barcode-0.98/plessey.c
11 checkptr[i+j] ^= check[j];
13 for (i = 0; i < 8; i++) {
14 - sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]);
15 + sprintf(ptr, "%s", patterns[checkptr[strlen(text) * 4 + i]]);
18 fprintf(stderr, "CRC: ");