mirror of
https://github.com/reactos/reactos.git
synced 2025-05-17 16:27:00 +00:00
Do not print garbage, initialize the variable. Bug #3916.
svn path=/trunk/; revision=38318
This commit is contained in:
parent
9b5914abf0
commit
cee8fc3735
1 changed files with 2 additions and 0 deletions
|
@ -142,6 +142,8 @@ bool zero_blocks(PEXT2_FILESYS fs, ULONG blk, ULONG num,
|
|||
if (!buf)
|
||||
{
|
||||
DPRINT1("Mke2fs: while allocating zeroizing buffer");
|
||||
if (ret_blk)
|
||||
*ret_blk = blk;
|
||||
return false;
|
||||
}
|
||||
memset(buf, 0, fs->blocksize * STRIDE_LENGTH);
|
||||
|
|
Loading…
Reference in a new issue