https://git.reactos.org/?p=reactos.git;a=commitdiff;h=52550485e2e2b9b9e1278…
commit 52550485e2e2b9b9e127804dc99998b9914c419c
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat May 11 11:24:42 2019 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sat May 11 11:25:13 2019 +0200
[UBTRFS] Upgrade to 1.2.1
CORE-16004
---
sdk/lib/fslib/btrfslib/btrfslib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/lib/fslib/btrfslib/btrfslib.c b/sdk/lib/fslib/btrfslib/btrfslib.c
index 9999f2c51b..902e80893c 100644
--- a/sdk/lib/fslib/btrfslib/btrfslib.c
+++ b/sdk/lib/fslib/btrfslib/btrfslib.c
@@ -887,7 +887,7 @@ static NTSTATUS write_superblocks(HANDLE h, btrfs_dev* dev,
btrfs_root* chunk_ro
UINT64 bytes_used;
LIST_ENTRY* le;
- sblen = sizeof(sb);
+ sblen = sizeof(*sb);
if (sblen & (sector_size - 1))
sblen = (sblen & sector_size) + sector_size;
@@ -1297,7 +1297,7 @@ static BOOL is_mounted_multi_device(HANDLE h, UINT32 sector_size) {
static WCHAR btrfs[] = L"\\Btrfs";
- sblen = sizeof(sb);
+ sblen = sizeof(*sb);
if (sblen & (sector_size - 1))
sblen = (sblen & sector_size) + sector_size;