[libvirt] [PATCH 04/10] maint: whitespace cleanups
Matthias Bolte
matthias.bolte at googlemail.com
Thu Aug 19 20:59:35 UTC 2010
2010/8/19 Eric Blake <eblake at redhat.com>:
> * src/storage/storage_backend_disk.c
> (virStorageBackendDiskPartFormat): Fix spacing.
> ---
>
> Should be cosmetic only.
>
> src/storage/storage_backend_disk.c | 66 +++++++++++++++++++-----------------
> 1 files changed, 35 insertions(+), 31 deletions(-)
>
> diff --git a/src/storage/storage_backend_disk.c b/src/storage/storage_backend_disk.c
> index 7188386..4038093 100644
> --- a/src/storage/storage_backend_disk.c
> +++ b/src/storage/storage_backend_disk.c
> @@ -385,20 +385,22 @@ virStorageBackendDiskPartFormat(virStoragePoolObjPtr pool,
> {
> int i;
> if (pool->def->source.format == VIR_STORAGE_POOL_DISK_DOS) {
> - const char *partedFormat = virStoragePartedFsTypeTypeToString(vol->target.format);
> + const char *partedFormat;
> + partedFormat = virStoragePartedFsTypeTypeToString(vol->target.format);
> if(partedFormat == NULL) {
While touching this code add a space between if and (.
ACK.
Matthias
More information about the libvir-list
mailing list