svn commit: r200120 - head/usr.bin/make

Stefan Farfeleder stefanf at FreeBSD.org
Sat Dec 5 13:12:04 UTC 2009


Author: stefanf
Date: Sat Dec  5 13:12:04 2009
New Revision: 200120
URL: http://svn.freebsd.org/changeset/base/200120

Log:
  Add a missing space to the error message when execvp() failed.

Modified:
  head/usr.bin/make/proc.c

Modified: head/usr.bin/make/proc.c
==============================================================================
--- head/usr.bin/make/proc.c	Sat Dec  5 12:51:51 2009	(r200119)
+++ head/usr.bin/make/proc.c	Sat Dec  5 13:12:04 2009	(r200120)
@@ -116,7 +116,7 @@ Proc_Exec(const ProcStuff *ps)
 		execvp(ps->argv[0], ps->argv);
 
 		write(STDERR_FILENO, ps->argv[0], strlen(ps->argv[0]));
-		write(STDERR_FILENO, ":", 1);
+		write(STDERR_FILENO, ": ", 2);
 		write(STDERR_FILENO, strerror(errno), strlen(strerror(errno)));
 		write(STDERR_FILENO, "\n", 1);
 	} else {


More information about the svn-src-head mailing list