Commit e375f519 authored by Vincent Milum Jr's avatar Vincent Milum Jr Committed by Daniel Black

MDEV-27790: Fix mis-matched braces for non-Linux targets

Ran into this while compiling on FreeBSD 13.0-RELEASE

After this one change, it compiles and runs just fine on my FreeBSD Aarch64 server.
parent c75e3770
......@@ -1303,8 +1303,9 @@ os_file_create_func(
default:
break;
}
}
# ifdef __linux__
} else if (type == OS_LOG_FILE && !log_sys.is_opened()) {
else if (type == OS_LOG_FILE && !log_sys.is_opened()) {
struct stat st;
char b[20 + sizeof "/sys/dev/block/" ":"
"/../queue/physical_block_size"];
......
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