Skip to content

Commit e375f51

Browse files
darkaingrooverdan
authored andcommitted
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.
1 parent c75e377 commit e375f51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

storage/innobase/os/os0file.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1303,8 +1303,9 @@ os_file_create_func(
13031303
default:
13041304
break;
13051305
}
1306+
}
13061307
# ifdef __linux__
1307-
} else if (type == OS_LOG_FILE && !log_sys.is_opened()) {
1308+
else if (type == OS_LOG_FILE && !log_sys.is_opened()) {
13081309
struct stat st;
13091310
char b[20 + sizeof "/sys/dev/block/" ":"
13101311
"/../queue/physical_block_size"];

0 commit comments

Comments
 (0)