Skip to content
Snippets Groups Projects
Commit 492ca6c5 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Branch b1_6

Quiet spurious ") 0: Success" messages from openfile in sanity.sh test 57b.
parent ff63a539
No related branches found
No related tags found
No related merge requests found
......@@ -202,12 +202,11 @@ int main(int argc, char** argv)
} else {
fprintf(stderr, "Error in opening file \"%s\"(flags=%s",
fname, cloned_flags);
if (mode_set)
fprintf(stderr, ", mode=%o", mode);
fprintf(stderr, ") %d: %s\n", save_errno, strerror(save_errno));
}
if (mode_set)
fprintf(stderr, ", mode=%o", mode);
fprintf(stderr, ") %d: %s\n", save_errno, strerror(save_errno));
out:
if (cloned_flags)
free(cloned_flags);
......@@ -216,4 +215,3 @@ out:
return save_errno;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment