mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 13:29:03 +02:00
util/mkhtemp: allow zero as a rand value
yes, zero is a valid response. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -89,9 +89,6 @@ rlong(void)
|
|||||||
goto err; /* possibly unsupported by kernel */
|
goto err; /* possibly unsupported by kernel */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rval == 0)
|
|
||||||
goto err;
|
|
||||||
|
|
||||||
off += (size_t)rc;
|
off += (size_t)rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user