projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nvme: add nvme opcodes, structures and helper functions
[fio.git]
/
t
/
memlock.c
diff --git
a/t/memlock.c
b/t/memlock.c
index 418dc3c48fd0c1b4cf8596564ee22f3f661fd92a..9f5a3ea8a731f5f4870e53e32a3baffe6f8e5189 100644
(file)
--- a/
t/memlock.c
+++ b/
t/memlock.c
@@
-22,7
+22,7
@@
static void *worker(void *data)
for (index = 0; index + 4096 < size; index += 4096)
memset(&buf[index+512], 0x89, 512);
if (first) {
for (index = 0; index + 4096 < size; index += 4096)
memset(&buf[index+512], 0x89, 512);
if (first) {
- printf("loop%d: did %lu MiB\n", i+1,
size/(1024UL*1024UL)
);
+ printf("loop%d: did %lu MiB\n", i+1,
td->mib
);
first = 0;
}
}
first = 0;
}
}