1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-21 15:45:02 +00:00

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
This commit is contained in:
Enji Cooper 2017-01-14 05:24:35 +00:00
parent f614ceaf4a
commit dcdb30d8f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312121

View File

@ -50,5 +50,5 @@ main(int argc, char **argv)
}
execve(argv[1], &argv[1], NULL);
err(1, "%s", "");
err(1, "execve failed");
}