Fix bogon in previous commit: pass a string argument to printf(3) to

satisfy the %s conversion format specifier.

Reported by:		Mark Huizer <freebsd@xaa.iae.nl>
This commit is contained in:
Sheldon Hearn 2000-01-11 13:40:20 +00:00
parent 7642cc829e
commit 3c47fb7922
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55821

View File

@ -169,7 +169,7 @@ pkg_do(char *pkg)
if (chdir(home) == FAIL) {
cleanup(0);
errx(2, "unable to return to working directory %s!");
errx(2, "unable to return to working directory %s!", home);
}
if (!Fake) {
@ -200,7 +200,7 @@ pkg_do(char *pkg)
if (chdir(home) == FAIL) {
cleanup(0);
errx(2, "unable to return to working directory %s!");
errx(2, "unable to return to working directory %s!", home);
}
if (!Fake) {