Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2009 13:12:04 +0000 (UTC)
From:      Stefan Farfeleder <stefanf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200120 - head/usr.bin/make
Message-ID:  <200912051312.nB5DC4kQ088533@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912051312.nB5DC4kQ088533>