summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hivex/hivexsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hivex/hivexsh.c b/hivex/hivexsh.c
index 6d83f0d..51d8cfb 100644
--- a/hivex/hivexsh.c
+++ b/hivex/hivexsh.c
@@ -913,7 +913,7 @@ cmd_setval (char *nrvals_str)
}
else if (STRPREFIX (buf, "expandstring:")) {
buf += 13;
- values[i].t = hive_t_string;
+ values[i].t = hive_t_expand_string;
int nr_chars = strlen (buf);
values[i].len = 2 * (nr_chars + 1);
values[i].value = malloc (values[i].len);