wordnet/wordnet-3.0-error_message.patch
Troy Dawson d08d1bad46 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/wordnet#511721fbfe1a4015aca652f2d5ea27ba6b4904b5
2020-10-15 13:46:43 -07:00

13 lines
272 B
Diff

diff --git a/src/wn.c b/src/wn.c
index ddb27aa..b160392 100644
--- a/src/wn.c
+++ b/src/wn.c
@@ -344,7 +344,7 @@ static int getoptidx(char *searchtype)
static int error_message(char *msg)
{
- fprintf(stderr, msg);
+ fprintf(stderr, "%s", msg);
return(0);
}