mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-31 01:48:09 +03:00
src/backup/dynamic_index.rs: use write_all()
This commit is contained in:
parent
8abd12f1f3
commit
cd69d36b45
@ -509,8 +509,8 @@ impl DynamicIndexWriter {
|
||||
csum.update(digest);
|
||||
}
|
||||
|
||||
self.writer.write(offset_le)?;
|
||||
self.writer.write(digest)?;
|
||||
self.writer.write_all(offset_le)?;
|
||||
self.writer.write_all(digest)?;
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user