fix: was not multiplying by byte size of ull

This commit is contained in:
2025-06-19 22:58:35 +02:00
parent 65d91b2d00
commit e18e9b0297

View File

@@ -57,7 +57,7 @@ int main(int argc, char** argv) {
} }
// populate the array with random data // populate the array with random data
if (getrandom(rdat->dat, c + !!mod, 0) < 0) if (getrandom(rdat->dat, (c + !!mod) * sizeof(ull), 0) < 0)
error(1, "failed to acquire random data!\n", ); error(1, "failed to acquire random data!\n", );
// perform for the input count // perform for the input count