]> xenbits.xensource.com Git - libvirt.git/commit
virfile: safezero: fix buffer allocation max size
authorOskari Saarenmaa <os@ohmu.fi>
Fri, 4 Oct 2013 13:49:05 +0000 (16:49 +0300)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 4 Oct 2013 14:10:27 +0000 (16:10 +0200)
commitb63a1d0e95c7d2fa46906777908ae5a1ccc4af97
treea2608e5bdc1f9d7475e90f8bee12b80f419a28b1
parentfc9ff1f24965d4759d7277a7f3b1697b98e929a6
virfile: safezero: fix buffer allocation max size

My previous commit 7dc1d4ab was supposed to change safezero to allocate
1 megabyte at maximum, but had the logic reversed and will allocate 1
megabyte at minimum (and a lot more at maximum.)

Signed-off-by: Oskari Saarenmaa <os@ohmu.fi>
src/util/virfile.c