about summary refs log tree commit diff stats
path: root/089scenario_filesystem.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-16 23:52:15 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-16 23:57:55 -0700
commit78c5020531a09a242f1d21b94ab128001c04bcdf (patch)
tree2b0eaef5064ca8ab0267b04983d111bd0bd87239 /089scenario_filesystem.cc
parent8752e6b09e302c88702ab6e7a965daa624ba5213 (diff)
downloadmu-78c5020531a09a242f1d21b94ab128001c04bcdf.tar.gz
3374
Diffstat (limited to '089scenario_filesystem.cc')
-rw-r--r--089scenario_filesystem.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/089scenario_filesystem.cc b/089scenario_filesystem.cc
index 4c7fce54..f96b9f42 100644
--- a/089scenario_filesystem.cc
+++ b/089scenario_filesystem.cc
@@ -191,12 +191,12 @@ void construct_filesystem_object(const map<string, string>& contents) {
   int filesystem_data_address = allocate(SIZE(contents)*2 + /*array length*/1);
   int curr = filesystem_data_address + /*skip refcount and length*/2;
   for (map<string, string>::const_iterator p = contents.begin(); p != contents.end(); ++p) {
-    put(Memory, curr, new_mu_string(p->first));
+    put(Memory, curr, new_mu_text(p->first));
     trace(9999, "mem") << "storing file name " << get(Memory, curr) << " in location " << curr << end();
     put(Memory, get(Memory, curr), 1);
     trace(9999, "mem") << "storing refcount 1 in location " << get(Memory, curr) << end();
     ++curr;
-    put(Memory, curr, new_mu_string(p->second));
+    put(Memory, curr, new_mu_text(p->second));
     trace(9999, "mem") << "storing file contents " << get(Memory, curr) << " in location " << curr << end();
     put(Memory, get(Memory, curr), 1);
     trace(9999, "mem") << "storing refcount 1 in location " << get(Memory, curr) << end();