Commit 7f4b0026 authored by Philip Carns's avatar Philip Carns

bug fix


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@569 3b7491f3-a168-0410-bf4b-c445ed680a29
parent b205a6c8
......@@ -408,7 +408,7 @@ int darshan_log_getjob(darshan_fd file, struct darshan_job *job)
#ifdef HAVE_STRNDUP
char *metadata = strndup(job->metadata, sizeof(job->metadata));
#else
char *metadata = strndup(job->metadata);
char *metadata = strdup(job->metadata);
#endif
char *kv;
char *key;
......
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