aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/add/perform.c
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2004-07-28 16:03:13 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2004-07-28 16:03:13 +0000
commit14cc87e4796cc33dbe477084822b31d1292ff338 (patch)
tree396dd4540ec06a7738f7f49b42efaf5f6f7d8181 /usr.sbin/pkg_install/add/perform.c
parentf825dd29c275c9168a69c27759302a47483c51a8 (diff)
Use the length modifier 'll' instead of 'q' to print long longs.
Notes
Notes: svn path=/head/; revision=132799
Diffstat (limited to 'usr.sbin/pkg_install/add/perform.c')
-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 1399bd973429..a2225c229b01 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!",