mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 10:52:50 +00:00
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:
parent
7642cc829e
commit
3c47fb7922
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55821
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user