diff options
author | Emmanuel Ackaouy <ack@xensource.com> | 2007-01-31 15:23:51 +0000 |
---|---|---|
committer | Emmanuel Ackaouy <ack@xensource.com> | 2007-01-31 15:23:51 +0000 |
commit | e42527954eec82f52422669a9d4c36e6c4f8438c (patch) | |
tree | d8f83feeb570133e5c4403786a68a9a408c458c1 /tools/xcutils | |
parent | f492dd97fb674fbf6fe86f3052a50098ed169201 (diff) | |
download | xen-e42527954eec82f52422669a9d4c36e6c4f8438c.tar.gz xen-e42527954eec82f52422669a9d4c36e6c4f8438c.tar.bz2 xen-e42527954eec82f52422669a9d4c36e6c4f8438c.zip |
[TOOLS] Fix typos which breaks readnotes transparent gunzipping ...
From: Gerd Hoffmann <kraxel@suse.de>
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
Diffstat (limited to 'tools/xcutils')
-rw-r--r-- | tools/xcutils/readnotes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xcutils/readnotes.c b/tools/xcutils/readnotes.c index fac684014a..f3e412da4e 100644 --- a/tools/xcutils/readnotes.c +++ b/tools/xcutils/readnotes.c @@ -72,8 +72,8 @@ int main(int argc, char **argv) usize = xc_dom_check_gzip(image, st.st_size); if (usize) { - tmp = malloc(size); - xc_dom_do_gunzip(image, st.st_size, tmp, size); + tmp = malloc(usize); + xc_dom_do_gunzip(image, st.st_size, tmp, usize); image = tmp; size = usize; } |