]> mj.ucw.cz Git - libucw.git/blobdiff - lib/conf2-test.c
conf2: dumper of the configuration polished; support printing names of user types
[libucw.git] / lib / conf2-test.c
index 3580f407679413c2d7cce0beebd14e02d4f5b213..6d3578604ae91fc6837105db417719dff8047fed 100644 (file)
@@ -98,6 +98,7 @@ dump_u16(struct fastbuf *fb, u16 *ptr)
 
 static struct cf_user_type u16_type = {
   .size = sizeof(u16),
+  .name = "u16",
   .parser = (cf_parser1*) parse_u16,
   .dumper = (cf_dumper1*) dump_u16
 };