Fix the build failure on gcc 4.3. Signed-off-by: Jim Huang --- log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: libsslwrap-0.0.2/src/log.c =================================================================== --- libsslwrap-0.0.2.orig/src/log.c 2009-01-12 17:03:25.000000000 +0800 +++ libsslwrap-0.0.2/src/log.c 2009-01-12 17:04:07.000000000 +0800 @@ -54,7 +54,7 @@ log_file = getenv("LIBSSLWRAP_LOG"); if (log_file) { - if ((log_fd = open(log_file, O_WRONLY | O_CREAT | 0644)) < 0) { + if ((log_fd = open(log_file, O_WRONLY | O_CREAT | 0644, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) < 0) { fprintf(stderr, "libsslwrap: cannot open the log file '%s'\n", log_file); _exit(1); }