[PATCH] blkrawverify: Check for EOF in error reporting
authorJens Axboe <axboe@suse.de>
Sat, 28 Jan 2006 19:39:11 +0000 (20:39 +0100)
committerJens Axboe <axboe@suse.de>
Sat, 28 Jan 2006 19:39:11 +0000 (20:39 +0100)
commit05e2c5594c7e5078abbdca1094e0fe6577ad4656
treeeaeaa100b82d602a6d9b9a7050229829d18e28f1
parent27223f197c1694066a489b1153a9127b7ba377b1
[PATCH] blkrawverify: Check for EOF in error reporting

A check of fread returning 0 is not sufficient towards determining an.
error - 0 also indicates EOF. Added check for that.
blkrawverify.c