X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Ftape.c;h=2f57d5fe59192541ddb9e028da896b60e67f3bf3;hp=c5d9a661adccdf0fdadb72b2ec31a6446e58c689;hb=d572dbfde52e312e2cac3b73d1330ac7170ad687;hpb=64bb207ae9f9a2cad0aff0990d3fd94d9b7c3c55 diff --git a/restore/tape.c b/restore/tape.c index c5d9a66..2f57d5f 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -45,7 +45,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.17 2000/06/03 22:24:18 stelian Exp $"; + "$Id: tape.c,v 1.18 2000/06/25 18:42:39 stelian Exp $"; #endif /* not lint */ #include @@ -279,7 +279,7 @@ setup(void) Dprintf(stdout, "maxino = %ld\n", (long)maxino); map = calloc((unsigned)1, (unsigned)howmany(maxino, NBBY)); if (map == NULL) - panic("no memory for active inode map\n"); + errx(1, "no memory for active inode map"); usedinomap = map; curfile.action = USING; getfile(xtrmap, xtrmapskip); @@ -287,7 +287,7 @@ setup(void) errx(1, "Cannot find file dump list"); map = calloc((unsigned)1, (unsigned)howmany(maxino, NBBY)); if (map == (char *)NULL) - panic("no memory for file dump list\n"); + errx(1, "no memory for file dump list"); dumpmap = map; curfile.action = USING; getfile(xtrmap, xtrmapskip);