Skip to content
Permalink
Browse files
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.
  • Loading branch information
darkain authored and grooverdan committed Feb 10, 2022
1 parent c75e377 commit e375f51
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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"];

0 comments on commit e375f51

Please sign in to comment.