Bail on ENXIO, you won't get any further any way.
Submitted by: tobez
This commit is contained in:
parent
3d21f0f440
commit
972b3f3056
@ -276,7 +276,10 @@ main(int argc, char * const argv[])
|
||||
lp->len -= i;
|
||||
continue;
|
||||
}
|
||||
printf("\n%jd %zu failed %d\n", lp->start, i, errno);
|
||||
printf("\n%jd %zu failed (%s)\n",
|
||||
lp->start, i, strerror(errno));
|
||||
if (errno == ENXIO)
|
||||
aborting = 1;
|
||||
new_lump(lp->start, i, lp->state + 1);
|
||||
lp->start += i;
|
||||
lp->len -= i;
|
||||
|
Loading…
Reference in New Issue
Block a user