346e966
diff -Naur ncurses-ruby-1.3.1/form_wrap.c ncurses-ruby-1.3.1.format/form_wrap.c
346e966
--- ncurses-ruby-1.3.1/form_wrap.c	2014-02-03 11:31:39.049867878 +0100
346e966
+++ ncurses-ruby-1.3.1.format/form_wrap.c	2014-02-03 11:44:37.001008654 +0100
346e966
@@ -1132,7 +1132,7 @@
346e966
 		  char msg[500];
346e966
 		  snprintf(msg, 500, "The validation functions for this field type need %d additional arguments.",(int)(NUM2INT(argc)-1));
346e966
 		  msg[499]=0;
346e966
-		  rb_raise(rb_eArgError, msg);	
346e966
+		  rb_raise(rb_eArgError, "%s", msg);	
346e966
 		}
346e966
 	 } 
346e966
   }