mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 00:03:22 +00:00
[SHELLBTRFS] Upgrade to 1.0.2
CORE-14655
This commit is contained in:
parent
c7806a6b29
commit
2da53310a4
6 changed files with 19 additions and 10 deletions
|
@ -157,7 +157,7 @@ DWORD BtrfsSend::Thread() {
|
|||
goto end2;
|
||||
}
|
||||
|
||||
memcpy(header.magic, BTRFS_SEND_MAGIC, sizeof(BTRFS_SEND_MAGIC));
|
||||
memcpy(header.magic, BTRFS_SEND_MAGIC, sizeof(header.magic));
|
||||
header.version = 1;
|
||||
|
||||
if (!WriteFile(stream, &header, sizeof(header), NULL, NULL)) {
|
||||
|
@ -654,7 +654,7 @@ static void send_subvol(std::wstring subvol, std::wstring file, std::wstring par
|
|||
if (!NT_SUCCESS(Status))
|
||||
goto end2;
|
||||
|
||||
memcpy(header.magic, BTRFS_SEND_MAGIC, sizeof(BTRFS_SEND_MAGIC));
|
||||
memcpy(header.magic, BTRFS_SEND_MAGIC, sizeof(header.magic));
|
||||
header.version = 1;
|
||||
|
||||
if (!WriteFile(stream, &header, sizeof(header), NULL, NULL))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue