[libvirt] [PATCH] in Vbox driver, OpenHardDisk is called with NULL instead of ""

This patch replaces the use of NULL with empty strings ("") in a call to OpenHardDisk, which otherwise fails with E_INVALIDARG. Florian

On Tuesday 29 September 2009 12:27:49 Florian Vichot wrote:
This patch replaces the use of NULL with empty strings ("") in a call to OpenHardDisk, which otherwise fails with E_INVALIDARG.
The patch fix's it but the more appropriate fix would be as below. Regards, Pritesh

On Tue, Sep 29, 2009 at 02:18:41PM +0200, Pritesh Kothari wrote:
On Tuesday 29 September 2009 12:27:49 Florian Vichot wrote:
This patch replaces the use of NULL with empty strings ("") in a call to OpenHardDisk, which otherwise fails with E_INVALIDARG.
The patch fix's it but the more appropriate fix would be as below.
Okay, I applied the UTF-16 correct version :-) thanks ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
participants (3)
-
Daniel Veillard
-
Florian Vichot
-
Pritesh Kothari