[libvirt] [PATCH 04/30] Remove unnecessary trailing \n in log messages
Eric Blake
eblake at redhat.com
Mon Apr 5 16:26:33 UTC 2010
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 at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100405/cf17a1e1/attachment-0001.sig>
More information about the libvir-list
mailing list