wordnet/wordnet-3.0-error_message.patch

13 lines
272 B
Diff
Raw Permalink Normal View History

2023-05-08 10:01:00 +00:00
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);
}