Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2017 05:24:36 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r312121 - head/tests/sys/kern/execve
Message-ID:  <201701140524.v0E5Oass076169@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sat Jan 14 05:24:35 2017
New Revision: 312121
URL: https://svnweb.freebsd.org/changeset/base/312121

Log:
  Follow up to r312118
  
  State that execve failed instead of just printing out the program name
  and strerror(errno) via err(3).
  
  MFC after:	3 days
  X-MFC with:	r312118
  Sponsored by:	Dell EMC Isilon

Modified:
  head/tests/sys/kern/execve/execve_helper.c

Modified: head/tests/sys/kern/execve/execve_helper.c
==============================================================================
--- head/tests/sys/kern/execve/execve_helper.c	Sat Jan 14 05:18:18 2017	(r312120)
+++ head/tests/sys/kern/execve/execve_helper.c	Sat Jan 14 05:24:35 2017	(r312121)
@@ -50,5 +50,5 @@ main(int argc, char **argv)
 	}
 
 	execve(argv[1], &argv[1], NULL);
-	err(1, "%s", "");
+	err(1, "execve failed");
 }



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