summaryrefslogtreecommitdiff
path: root/memory.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-07-19 10:01:03 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-07-19 10:01:03 +0200
commit886b878aed5decd6fdc6c61d2f11aa5b960b4f1c (patch)
tree2b0c619b1823371ee95d8dd70b81a8e1395e3c43 /memory.c
parentd8602dd08170e11fb91dccde945bc527dbba57aa (diff)
downloadfio-886b878aed5decd6fdc6c61d2f11aa5b960b4f1c.tar.gz
fio-886b878aed5decd6fdc6c61d2f11aa5b960b4f1c.tar.bz2
Fix typo in shmhuge commit
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'memory.c')
-rw-r--r--memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memory.c b/memory.c
index a95edd78..efbea04c 100644
--- 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_SHMHUM) {
+ if (td->o.mem_type == MEM_SHMHUGE) {
if (errno == EINVAL)
log_err("fio: check that you have free huge pages and that hugepage-size is correct.\n");
else if (errno == ENOSYS)