Re: [libvirt] [PATCH 04/30] Remove unnecessary trailing \n in log messages

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

 



On 04/04/2010 11:36 AM, Matthias Bolte wrote:

It might be nice to list the regexp you used when grepping to find these
instances.  I tried git grep '\\n"' -- tools src, but that has a number
of false positives to filter through.  On the other hand, a more
restrictive test may have let some offenders slip through.

> +++ b/src/storage/storage_backend_disk.c
> @@ -455,7 +455,7 @@ virStorageBackendDiskPartBoundries(virStoragePoolObjPtr pool,
>      unsigned long long cylinderSize = dev->geometry.heads *
>                                        dev->geometry.sectors * SECTOR_SIZE;
>  
> -    DEBUG("find free area: allocation %llu,  cyl size %llu\n", allocation, cylinderSize);
> +    DEBUG("find free area: allocation %llu, cyl size %llu", allocation, cylinderSize);

Fixing more than just \n here, but it's all whitespace fixes, so no need
to split it out into a separate commit. :)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]