Fixed printing the the strip binary's name in error messages.

This commit is contained in:
Bruce Evans 2002-05-12 03:47:23 +00:00
parent 95ba43303b
commit a8f9c5c794
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96437

View File

@ -715,7 +715,7 @@ strip(to_name)
if (stripbin == NULL)
stripbin = "strip";
execlp(stripbin, stripbin, to_name, (char *)NULL);
err(EX_OSERR, "exec(strip)");
err(EX_OSERR, "exec(%s)", stripbin);
default:
if (wait(&status) == -1 || status) {
(void)unlink(to_name);