Use a more nicely formatted message when we run out of space.
This commit is contained in:
parent
fe16ad72f3
commit
4b96fa37b0
@ -1,5 +1,5 @@
|
|||||||
#ifndef lint
|
#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
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -63,7 +63,7 @@ make_playpen(char *pen, size_t sz)
|
|||||||
}
|
}
|
||||||
if (min_free(Pen) < sz) {
|
if (min_free(Pen) < sz) {
|
||||||
rmdir(Pen);
|
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)
|
if (chdir(Pen) == FAIL)
|
||||||
barf("Can't chdir to '%s'.", Pen);
|
barf("Can't chdir to '%s'.", Pen);
|
||||||
|
Loading…
Reference in New Issue
Block a user