Commit 971e1f94 authored by Philip Carns's avatar Philip Carns

fixed typo bug


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@135 3b7491f3-a168-0410-bf4b-c445ed680a29
parent a235da7e
......@@ -273,10 +273,10 @@ int darshan_log_getfile(darshan_fd fd, struct darshan_job *job, struct darshan_f
struct darshan_file_1_21 file_1_21;
struct darshan_file_1_22 file_1_22;
if(gztell(file) < CP_JOB_RECORD_SIZE)
gzseek(file, CP_JOB_RECORD_SIZE, SEEK_SET);
if(gztell(fd) < CP_JOB_RECORD_SIZE)
gzseek(fd, CP_JOB_RECORD_SIZE, SEEK_SET);
gzseek(file, sizeof(struct darshan_job), SEEK_SET);
gzseek(fd, sizeof(struct darshan_job), SEEK_SET);
/* reset file record, so that diff compares against a zero'd out record
* if file is missing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment