projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8602dd
)
Fix typo in shmhuge commit
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 19 Jul 2007 08:01:03 +0000
(10:01 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 19 Jul 2007 08:01:03 +0000
(10:01 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
memory.c
patch
|
blob
|
blame
|
history
diff --git
a/memory.c
b/memory.c
index a95edd780bafdf2a97f44cc927034aa068581a26..efbea04c2c992ee0f6c47d4230e1197428506db4 100644
(file)
--- a/
memory.c
+++ b/
memory.c
@@
-65,7
+65,7
@@
static int alloc_mem_shm(struct thread_data *td)
td_verror(td, errno, "shmget");
if (geteuid() != 0 && errno == ENOMEM)
log_err("fio: you may need to run this job as root\n");
- if (td->o.mem_type == MEM_SHMHU
M
) {
+ if (td->o.mem_type == MEM_SHMHU
GE
) {
if (errno == EINVAL)
log_err("fio: check that you have free huge pages and that hugepage-size is correct.\n");
else if (errno == ENOSYS)