diff --git a/Sources/tart/VMConfig.swift b/Sources/tart/VMConfig.swift index 67d1227..f8a8e0b 100644 --- a/Sources/tart/VMConfig.swift +++ b/Sources/tart/VMConfig.swift @@ -147,7 +147,7 @@ struct VMConfig: Codable { mutating func setMemory(memorySize: UInt64) throws { if memorySize < memorySizeMin { throw LessThanMinimalResourcesError("VM should have \(memorySizeMin) bytes" - + " of memory at minimum (requested \(memorySizeMin))") + + " of memory at minimum (requested \(memorySize))") } self.memorySize = memorySize