public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/lib/format_text tags.c
@ 2010-09-21 10:42 prajnoha
0 siblings, 0 replies; only message in thread
From: prajnoha @ 2010-09-21 10:42 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha@sourceware.org 2010-09-21 10:42:03
Modified files:
lib/format_text: tags.c
Log message:
"goto_bad" should be used in alloc_printed_tags function, not "goto bad".
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/format_text/tags.c.diff?cvsroot=lvm2&r1=1.8&r2=1.9
--- LVM2/lib/format_text/tags.c 2010/09/20 14:23:20 1.8
+++ LVM2/lib/format_text/tags.c 2010/09/21 10:42:02 1.9
@@ -38,21 +38,21 @@
}
if (!emit_to_buffer(&buf, &size, "["))
- goto bad;
+ goto_bad;
dm_list_iterate_items(sl, tags) {
if (!first) {
if (!emit_to_buffer(&buf, &size, ", "))
- goto bad;
+ goto_bad;
} else
first = 0;
if (!emit_to_buffer(&buf, &size, "\"%s\"", sl->str))
- goto bad;
+ goto_bad;
}
if (!emit_to_buffer(&buf, &size, "]"))
- goto bad;
+ goto_bad;
return buffer;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-21 10:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-21 10:42 LVM2/lib/format_text tags.c prajnoha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).