summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/add
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-07-28 16:03:13 +0000
committerstefanf <stefanf@FreeBSD.org>2004-07-28 16:03:13 +0000
commit7cdc27d942c90c6de3bea3b6dc6c8a1872052e2b (patch)
tree396dd4540ec06a7738f7f49b42efaf5f6f7d8181 /usr.sbin/pkg_install/add
parentd0c237fd3c8db61a5ea4108aed735fe3198d27e3 (diff)
downloadFreeBSD-src-7cdc27d942c90c6de3bea3b6dc6c8a1872052e2b.zip
FreeBSD-src-7cdc27d942c90c6de3bea3b6dc6c8a1872052e2b.tar.gz
Use the length modifier 'll' instead of 'q' to print long longs.
Diffstat (limited to 'usr.sbin/pkg_install/add')
-rw-r--r--usr.sbin/pkg_install/add/perform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/add/perform.c b/usr.sbin/pkg_install/add/perform.c
index 1399bd9..a2225c2 100644
--- a/usr.sbin/pkg_install/add/perform.c
+++ b/usr.sbin/pkg_install/add/perform.c
@@ -137,7 +137,7 @@ pkg_do(char *pkg)
}
Home = make_playpen(playpen, sb.st_size * 4);
if (!Home)
- errx(1, "unable to make playpen for %qd bytes", (long long)sb.st_size * 4);
+ errx(1, "unable to make playpen for %lld bytes", (long long)sb.st_size * 4);
where_to = Home;
/* Since we can call ourselves recursively, keep notes on where we came from */
if (!getenv("_TOP"))
@@ -191,7 +191,7 @@ pkg_do(char *pkg)
*/
if (!extract && !inPlace && min_free(playpen) < sb.st_size * 4) {
- warnx("projected size of %qd exceeds available free space.\n"
+ warnx("projected size of %lld exceeds available free space.\n"
"Please set your PKG_TMPDIR variable to point to a location with more\n"
"free space and try again", (long long)sb.st_size * 4);
warnx("not extracting %s\ninto %s, sorry!",
OpenPOWER on IntegriCloud