]> sourceware.org Git - lvm2.git/commitdiff
"goto_bad" should be used in alloc_printed_tags function, not "goto bad".
authorPeter Rajnoha <prajnoha@redhat.com>
Tue, 21 Sep 2010 10:42:02 +0000 (10:42 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Tue, 21 Sep 2010 10:42:02 +0000 (10:42 +0000)
lib/format_text/tags.c

index 65db03e4e146bba00b304857243079f6d1d122c5..1a8c254f65944d038474979a2ef60b4f72ed6fc0 100644 (file)
@@ -38,21 +38,21 @@ char *alloc_printed_tags(struct dm_list *tags)
        }
 
        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;
 
This page took 0.03998 seconds and 5 git commands to generate.