Re: [PATCH] qemu: Remove redundant slash in save directory path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/11/5 Eric Blake <eblake@xxxxxxxxxx>:
> On 11/05/2010 03:41 PM, Matthias Bolte wrote:
>> ---
>> Âsrc/qemu/qemu_driver.c | Â Â2 +-
>> Â1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
>> index 4e590e3..2a84e5d 100644
>> --- a/src/qemu/qemu_driver.c
>> +++ b/src/qemu/qemu_driver.c
>> @@ -1773,7 +1773,7 @@ qemudStartup(int privileged) {
>> Â Â Â Â Â Â Â Â Â Â Â Â"%s/cache/libvirt/qemu", LOCAL_STATE_DIR) == -1)
>> Â Â Â Â Â Â Âgoto out_of_memory;
>> Â Â Â Â Âif (virAsprintf(&qemu_driver->saveDir,
>> - Â Â Â Â Â Â Â Â Â Â Â"%s/lib/libvirt/qemu/save/", LOCAL_STATE_DIR) == -1)
>> + Â Â Â Â Â Â Â Â Â Â Â"%s/lib/libvirt/qemu/save", LOCAL_STATE_DIR) == -1)
>> Â Â Â Â Â Â Âgoto out_of_memory;
>> Â Â Â Â Âif (virAsprintf(&qemu_driver->snapshotDir,
>> Â Â Â Â Â Â Â Â Â Â Â Â Â"%s/lib/libvirt/qemu/snapshot", LOCAL_STATE_DIR) == -1)
>
> ACK, it's harmless to keep the trailing slash, but consistent with the
> other directory strings in this function to remove it.

Thanks, pushed.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]