Skip to contentSkip to conversation

LVM2/tools lvconvert.c

PATCH [email protected] 1 participant 1 message Feb 23, 2012

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-02-23 22:36:57

Modified files:
tools : lvconvert.c

Log message:
Keep same sign for 's' counter

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvconvert.c.diff?cvsroot=lvm2&r1=1.185&r2=1.186

tools/lvconvert.c +2 -1
@@ -596,7 +596,8 @@
 
 static int _failed_logs_count(struct logical_volume *lv)
 {
-	int ret = 0, s;
+	int ret = 0;
+	unsigned s;
 	struct logical_volume *log_lv = first_seg(lv)->log_lv;
 	if (log_lv && (log_lv->status & PARTIAL_LV)) {
 		if (log_lv->status & MIRRORED)