diff options
author | jkh <jkh@FreeBSD.org> | 1995-04-18 13:04:34 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-04-18 13:04:34 +0000 |
commit | ca71c94b25012c7a4fe1063b00f75516d493cb41 (patch) | |
tree | 7c567c3376eeeccf05026ecf3ad2929ac1a610f8 /usr.sbin/pkg_install/lib | |
parent | 50e5eb484bd72b1f02e43c25ea5bdd22e80a8f44 (diff) | |
download | FreeBSD-src-ca71c94b25012c7a4fe1063b00f75516d493cb41.zip FreeBSD-src-ca71c94b25012c7a4fe1063b00f75516d493cb41.tar.gz |
Use a more nicely formatted message when we run out of space.
Diffstat (limited to 'usr.sbin/pkg_install/lib')
-rw-r--r-- | usr.sbin/pkg_install/lib/pen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/lib/pen.c b/usr.sbin/pkg_install/lib/pen.c index 70fbf5a..3ad1251 100644 --- a/usr.sbin/pkg_install/lib/pen.c +++ b/usr.sbin/pkg_install/lib/pen.c @@ -1,5 +1,5 @@ #ifndef lint -static const char *rcsid = "$Id: pen.c,v 1.8 1995/02/15 03:48:13 jkh Exp $"; +static const char *rcsid = "$Id: pen.c,v 1.9 1995/02/16 12:43:00 jkh Exp $"; #endif /* @@ -63,7 +63,7 @@ make_playpen(char *pen, size_t sz) } if (min_free(Pen) < sz) { rmdir(Pen); - barf("%s doesn't have enough free space. Please set your PKG_TMPDIR\nenvironment variable to a location with more space and\ntry the command again.", Pen); + barf("Not enough free space to create `%s'.\nPlease set your PKG_TMPDIRenvironment variable to a location with more space and\ntry the command again.", Pen); } if (chdir(Pen) == FAIL) barf("Can't chdir to '%s'.", Pen); |