Browse Source

libsymbol: fix bad argument order (#1820)

nilason 3 years ago
parent
commit
a4b5ba1ae7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/symbol/read.c

+ 1 - 1
lib/symbol/read.c

@@ -221,7 +221,7 @@ SYMBOL *err(FILE * fp, SYMBOL * s, char *msg)
 {
     fclose(fp);
     G_free(s);			/* TODO: free all */
-    G_warning(msg, "%s");
+    G_warning("%s", msg);
     return NULL;
 }