This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch to fix error message typo in collect2.c


Tested on solaris2.7, ok to install?



2002-06-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* collect2.c (scan_prog_file): Fix typo in message.

diff -rup orig/egcc-CVS20020425/gcc/collect2.c egcc-CVS20020425/gcc/collect2.c
--- orig/egcc-CVS20020425/gcc/collect2.c	Tue Mar 12 16:30:23 2002
+++ egcc-CVS20020425/gcc/collect2.c	Fri Apr 26 11:48:22 2002
@@ -2135,7 +2135,7 @@ scan_prog_file (prog_name, which_pass)
 	fatal_perror ("close %d", pipe_fd[1]);
 
       execv (nm_file_name, real_nm_argv);
-      fatal_perror ("execvp %s", nm_file_name);
+      fatal_perror ("execv %s", nm_file_name);
     }
 
   /* Parent context from here on.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]