render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
Blob Blame History Raw
From 8cbeefe6f0f1bdb94a4bb8e2f741f25fffe5a49a Mon Sep 17 00:00:00 2001
Message-Id: <8cbeefe6f0f1bdb94a4bb8e2f741f25fffe5a49a@dist-git>
From: Eric Blake <eblake@redhat.com>
Date: Wed, 26 Feb 2014 14:54:29 +0100
Subject: [PATCH] storage: fix typo in previous patch

https://bugzilla.redhat.com/show_bug.cgi?id=1032370

You'd think I'd learn to actually COMMIT my working tree
between testing that a last-minute fix compiles and pushing.

* src/storage/storage_backend_gluster.c
(virStorageBackendGlusterRefreshVol): Typo fix.

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 053f45f8f699ba8e2924fab9fe8ea3acc567e934)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
---
 src/storage/storage_backend_gluster.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/storage/storage_backend_gluster.c b/src/storage/storage_backend_gluster.c
index 01af4bd..1be9034 100644
--- a/src/storage/storage_backend_gluster.c
+++ b/src/storage/storage_backend_gluster.c
@@ -259,7 +259,7 @@ virStorageBackendGlusterRefreshVol(virStorageBackendGlusterStatePtr state,
     if ((vol->target.format = virStorageFileProbeFormatFromBuf(name,
                                                                header,
                                                                len)) < 0)
-        goto clenaup;
+        goto cleanup;
     if (!(meta = virStorageFileGetMetadataFromBuf(name, header, len,
                                                   vol->target.format)))
         goto cleanup;
-- 
1.9.0