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 <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2022-05-26 12:15:16 +01:00 committed by Sebastien Boeuf
parent 979797786d
commit 7c3582b4a8

View File

@ -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"),