2003-08-04 David Carlton <carlton@kealia.com>
[deliverable/binutils-gdb.git] / gdb / source.c
index ae94addb6135f99e240cb197d12be94582f567eb..749617bb5781491926ab77fd5f8d54bf0efb8bbd 100644 (file)
@@ -1361,7 +1361,7 @@ forward_search_command (char *regex, int from_tty)
 
   msg = (char *) re_comp (regex);
   if (msg)
-    error (msg);
+    error ("%s", msg);
 
   if (current_source_symtab == 0)
     select_source_symtab (0);
@@ -1457,7 +1457,7 @@ reverse_search_command (char *regex, int from_tty)
 
   msg = (char *) re_comp (regex);
   if (msg)
-    error (msg);
+    error ("%s", msg);
 
   if (current_source_symtab == 0)
     select_source_symtab (0);
This page took 0.024261 seconds and 4 git commands to generate.