diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-06-05 10:00:15 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-06-05 10:00:15 +0100 |
commit | 5238d5a2f0865ff7ad55d7c686688eb61543e5cb (patch) | |
tree | 96a4e5e97e54cffb3f240afb4c769934e4222063 /tools/console | |
parent | caef84a898c786fcde190d8089874ee7cb74f271 (diff) | |
download | xen-5238d5a2f0865ff7ad55d7c686688eb61543e5cb.tar.gz xen-5238d5a2f0865ff7ad55d7c686688eb61543e5cb.tar.bz2 xen-5238d5a2f0865ff7ad55d7c686688eb61543e5cb.zip |
console daemon: Fix realloc() usage.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/console')
-rw-r--r-- | tools/console/daemon/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/console/daemon/io.c b/tools/console/daemon/io.c index 71bc47925b..29090db506 100644 --- a/tools/console/daemon/io.c +++ b/tools/console/daemon/io.c @@ -191,6 +191,7 @@ static int create_domain_log(struct domain *dom) free(namepath); return -1; } + namepath = s; strcat(namepath, "/name"); data = xs_read(xs, XBT_NULL, namepath, &len); if (!data) |