diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-10-20 16:44:17 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-10-20 16:44:17 +0000 |
commit | 5a17bf70dd1bafbc86dc989ce06e01499f45309c (patch) | |
tree | d837e3ca36433c5956d86a37c83605a1fe990bf1 | |
parent | 582ab3c689de8d82d6d519d394b20370b11540cd (diff) |
Fix previous.
-rw-r--r-- | usr.sbin/ldomctl/ldomctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldomctl/ldomctl.c b/usr.sbin/ldomctl/ldomctl.c index 6c19d5b2737..431dfe6c0ec 100644 --- a/usr.sbin/ldomctl/ldomctl.c +++ b/usr.sbin/ldomctl/ldomctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldomctl.c,v 1.5 2012/10/20 13:05:54 kettenis Exp $ */ +/* $OpenBSD: ldomctl.c,v 1.6 2012/10/20 16:44:16 kettenis Exp $ */ /* * Copyright (c) 2012 Mark Kettenis @@ -357,7 +357,7 @@ dump(int argc, char **argv) md_len = sizeof(hdr) + hdr.node_blk_sz + hdr.name_blk_sz + hdr.data_blk_sz; - md_buf = xmalloc(hvmd_len); + md_buf = xmalloc(md_len); hi.hi_cookie = guest->mdpa; hi.hi_addr = md_buf; |