diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-05-19 01:20:14 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-05-19 01:20:14 -0700 |
commit | 3c2390c461f15386a8e2676572c520f01e9c600f (patch) | |
tree | b5efaa2add173f18035610b62803ae8bcf8b1979 /os | |
parent | 346a316f5e39ca6d99b98372914294988e79758d (diff) |
xfs shouldn't re-create the log file every time it clones
Port to current xfs of a part of the fix for Sun bug 4302139:
patch 108117-01 removes error-file configuration option for xfs
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'os')
-rw-r--r-- | os/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ InitErrors(void) #endif if (ErrorFile[0] && strcmp(CurrentErrorFile, ErrorFile) != 0) { - i = creat(ErrorFile, 0666); + i = open(ErrorFile, O_WRONLY | O_APPEND | O_CREAT, 0666); if (i != -1) { dup2(i, 2); close(i); |