diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2000-01-11 13:40:20 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2000-01-11 13:40:20 +0000 |
commit | ddf2890cdfae4bd1cd3a719341689d029d64b580 (patch) | |
tree | 970418f157427771869ed004312bbad438dfed1a /usr.sbin | |
parent | 9189b4eba0543128aaa8ba8ebfd2103673501b31 (diff) | |
download | FreeBSD-src-ddf2890cdfae4bd1cd3a719341689d029d64b580.zip FreeBSD-src-ddf2890cdfae4bd1cd3a719341689d029d64b580.tar.gz |
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>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_install/delete/perform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/delete/perform.c b/usr.sbin/pkg_install/delete/perform.c index 12de6b3..11e96be 100644 --- a/usr.sbin/pkg_install/delete/perform.c +++ b/usr.sbin/pkg_install/delete/perform.c @@ -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) { |