Commit 07b5494c authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Fix assertion.

parent 368c430e
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ int main(int argc, char **argv) {
    uint32_t j = 0;
    uint16_t buffer_size = arguments.size;
    char* buf = calloc(buffer_size, sizeof(char));
	assert(sizeof(buf) >= 2* sizeof(struct timespec) + 20);
	assert(buffer_size * sizeof(char) >= 2* sizeof(struct timespec) + 20);
    while (j < rounds) {
		struct timespec now;
		clock_gettime(CLOCK_REALTIME, &now);