diff options
Diffstat (limited to 'isomd5sum')
-rw-r--r-- | isomd5sum/implantisomd5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isomd5sum/implantisomd5.c b/isomd5sum/implantisomd5.c index 76466e44b..2e127b769 100644 --- a/isomd5sum/implantisomd5.c +++ b/isomd5sum/implantisomd5.c @@ -33,7 +33,7 @@ int parsepvd(int isofd, char *mediasum, long long *isosize) { offset = (16L * 2048L); for (;1;) { - if (read(isofd, buf, 2048) < 0) + if (read(isofd, buf, 2048) <= 0) return ((long long)-1); if (buf[0] == 1) |