Skip to contentSkip to conversation

LVM2/daemons/lvmetad lvmetad-core.c

PATCH [email protected] 1 participant 1 message Sep 2, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-09-02 11:04:12

Modified files:
daemons/lvmetad: lvmetad-core.c

Log message:

	Compile fix
	
	Reflecting change in dm_config_value  float r -> float f.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/lvmetad/lvmetad-core.c.diff?cvsroot=lvm2&r1=1.24&r2=1.25

daemons/lvmetad/lvmetad-core.c +1 -1
@@ -192,7 +192,7 @@
 
 	switch (a->type) {
 	case DM_CFG_STRING: r = strcmp(a->v.str, b->v.str);
-	case DM_CFG_FLOAT: r = (a->v.r == b->v.r);
+	case DM_CFG_FLOAT: r = (a->v.f == b->v.f);
 	case DM_CFG_INT: r = (a->v.i == b->v.i);
 	case DM_CFG_EMPTY_ARRAY: return 0;
 	}