Skip to contentSkip to conversation

device-mapper/lib libdm-report.c

PATCH [email protected] 1 participant 1 message Jun 6, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: [email protected] 2008-06-06 19:07:47

Modified files:
lib : libdm-report.c

Log message:
switch to single quotes rather than double for nameprefixes

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-report.c.diff?cvsroot=dm&r1=1.18&r2=1.19

lib/libdm-report.c +2 -2
@@ -845,7 +845,7 @@
 
 				free(field_id);
 
-				if (!dm_pool_grow_object(rh->mem, "=\"", 2)) {
+				if (!dm_pool_grow_object(rh->mem, "=\'", 2)) {
 					log_error("dm_report: Unable to extend output line");
 					goto bad;
 				}
@@ -886,7 +886,7 @@
 			}
 
 			if (rh->flags & DM_REPORT_OUTPUT_FIELD_NAME_PREFIX)
-				if (!dm_pool_grow_object(rh->mem, "\"", 1)) {
+				if (!dm_pool_grow_object(rh->mem, "\'", 1)) {
 					log_error("dm_report: Unable to extend output line");
 					goto bad;
 				}