summaryrefslogtreecommitdiff
path: root/wordnet-3.0-error_message.patch
blob: d5a7359c4dafb8049d4f8e636f942415f07405df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
 }