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

[lvm-devel] master - cleanup: add missing backtrace in fail path



Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=9fcbe3c6f074443248922b61441bb2b37253a59c
Commit:        9fcbe3c6f074443248922b61441bb2b37253a59c
Parent:        fe21b02fabe1dddeb45c4cfd0be475846dd0f906
Author:        Zdenek Kabelac <zkabelac redhat com>
AuthorDate:    Tue Dec 10 20:49:53 2013 +0100
Committer:     Zdenek Kabelac <zkabelac redhat com>
CommitterDate: Thu Dec 12 13:29:59 2013 +0100

cleanup: add missing backtrace in fail path

---
 lib/label/label.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/label/label.c b/lib/label/label.c
index e083150..25e5f2c 100644
--- a/lib/label/label.c
+++ b/lib/label/label.c
@@ -280,7 +280,7 @@ int label_read(struct device *dev, struct label **result,
 	}
 
 	if (!(l = _find_labeller(dev, buf, &sector, scan_sector)))
-		goto out;
+		goto_out;
 
 	if ((r = (l->ops->read)(l, dev, buf, result)) && result && *result) {
 		(*result)->dev = dev;


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