Skip to content

Commit

Permalink
Seek to the beginning of the disk file before probing.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamos committed Oct 12, 2014
1 parent b21f9a2 commit d5f576a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gray-crawler/gray-crawler.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ int main(int argc, char* args[])
fprintf_white(stdout, "\nProbing for %s... ",
pt_crawler->pt_name);

fseek(disk, SEEK_SET, 0);
if (pt_crawler->probe(disk, &ptdata))
{

Expand Down

0 comments on commit d5f576a

Please sign in to comment.