X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Futils%2Fofd_access_log_reader.c;fp=lustre%2Futils%2Fofd_access_log_reader.c;h=051b76f1792c6aedda692a3247b63768a4c44a76;hb=966c6bc7a2514737c04b579cdb4a985c99ae6658;hp=cf72d9e90d23601a968119533086f7bcc5152629;hpb=59935dbf679a95a7ec2b77286be365fe938a9f36;p=fs%2Flustre-release.git diff --git a/lustre/utils/ofd_access_log_reader.c b/lustre/utils/ofd_access_log_reader.c index cf72d9e..051b76f 100644 --- a/lustre/utils/ofd_access_log_reader.c +++ b/lustre/utils/ofd_access_log_reader.c @@ -792,8 +792,8 @@ int main(int argc, char *argv[]) trace_file = stdout; } else { trace_file = fopen(optarg, "a"); - if (debug_file == NULL) - FATAL("cannot open debug file '%s': %s\n", + if (trace_file == NULL) + FATAL("cannot open trace file '%s': %s\n", optarg, strerror(errno)); }