summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-02-05 13:47:32 +0000
committerRichard Jones <rjones@redhat.com>2010-02-05 13:47:32 +0000
commit0764b932676b66ffca9ffa4cc5a45ebac7d81748 (patch)
tree4f56ce9af94e533d793f732b26124973325346fe
parent348bcd59b3fdfd9f8de353260fb31d745388a64e (diff)
downloadlibguestfs-0764b932676b66ffca9ffa4cc5a45ebac7d81748.tar.gz
libguestfs-0764b932676b66ffca9ffa4cc5a45ebac7d81748.tar.xz
libguestfs-0764b932676b66ffca9ffa4cc5a45ebac7d81748.zip
hivexsh: Set correct type for 'expandstring' values.
-rw-r--r--hivex/hivexsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hivex/hivexsh.c b/hivex/hivexsh.c
index 6d83f0d2..51d8cfb1 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);