From 9713d030bb1696269c3348cac83e13306edd65cf Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Mon, 25 Mar 2019 15:25:59 +0100 Subject: Correct write through spelling. Reported by Richard Susta. Signed-off-by: Pavel Pisa --- qtmips_cli/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qtmips_cli') diff --git a/qtmips_cli/main.cpp b/qtmips_cli/main.cpp index 1a742e3..e80670b 100644 --- a/qtmips_cli/main.cpp +++ b/qtmips_cli/main.cpp @@ -117,9 +117,9 @@ void configure_cache(MachineConfigCache &cacheconf, QStringList cachearg, QStrin if (pieces.at(3).toLower() == "wb") cacheconf.set_write_policy(MachineConfigCache::WP_BACK); else if (pieces.at(3).toLower() == "wt" || pieces.at(3).toLower() == "wtna") - cacheconf.set_write_policy(MachineConfigCache::WP_TROUGH_NOALLOC); + cacheconf.set_write_policy(MachineConfigCache::WP_THROUGH_NOALLOC); else if (pieces.at(3).toLower() == "wta") - cacheconf.set_write_policy(MachineConfigCache::WP_TROUGH_ALLOC); + cacheconf.set_write_policy(MachineConfigCache::WP_THROUGH_ALLOC); else { std::cerr << "Write policy for " << which.toLocal8Bit().data() << " cache is incorrect (correct wb/wt/wtna/wta)." << std::endl; exit(1); -- cgit v1.2.3