diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-03-25 15:25:59 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-03-25 15:26:32 +0100 |
commit | 9713d030bb1696269c3348cac83e13306edd65cf (patch) | |
tree | f57970edbc9ef607c4209ebcae7fbf64214bb8a6 /qtmips_cli | |
parent | 3774592f02121ce749c1d5ac4210bd6772475305 (diff) | |
download | qtmips-9713d030bb1696269c3348cac83e13306edd65cf.tar.gz qtmips-9713d030bb1696269c3348cac83e13306edd65cf.tar.bz2 qtmips-9713d030bb1696269c3348cac83e13306edd65cf.zip |
Correct write through spelling. Reported by Richard Susta.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_cli')
-rw-r--r-- | qtmips_cli/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |