mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 19:29:53 +03:00
13 lines
444 B
Diff
13 lines
444 B
Diff
diff --git a/plessey.c b/plessey.c
|
|
index 2f59e39..3089a3c 100644
|
|
--- a/plessey.c
|
|
+++ b/plessey.c
|
|
@@ -149,7 +149,7 @@ int Barcode_pls_encode(struct Barcode_Item *bc)
|
|
checkptr[i+j] ^= check[j];
|
|
}
|
|
for (i = 0; i < 8; i++) {
|
|
- sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]);
|
|
+ sprintf(ptr, "%s", patterns[checkptr[strlen(text) * 4 + i]]);
|
|
ptr += 2;
|
|
}
|
|
fprintf(stderr, _("CRC: "));
|