From 7c3582b4a85d02a3ff572605b4f5bdbe9a8de295 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 26 May 2022 12:15:16 +0100 Subject: [PATCH] vmm: config: Fix error message regarding use of cache size without dax The error message incorrectly said that the user was trying to combine cache_size without dax whereas it is only usuable with dax. Signed-off-by: Rob Bradford --- vmm/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmm/src/config.rs b/vmm/src/config.rs index 6a8f43849..f3d268618 100644 --- a/vmm/src/config.rs +++ b/vmm/src/config.rs @@ -292,7 +292,7 @@ impl fmt::Display for Error { ParseFsSockMissing => write!(f, "Error parsing --fs: socket missing"), ParseFsTagMissing => write!(f, "Error parsing --fs: tag missing"), InvalidCacheSizeWithDaxOff => { - write!(f, "Error parsing --fs: cache_size used with dax=on") + write!(f, "Error parsing --fs: cache_size used with dax=off") } ParsePersistentMemory(o) => write!(f, "Error parsing --pmem: {}", o), ParsePmemFileMissing => write!(f, "Error parsing --pmem: file missing"),