summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/genl/genl-family-get.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/genl/genl-family-get.c b/examples/genl/genl-family-get.c
index ba8291e..1ad1a04 100644
--- a/examples/genl/genl-family-get.c
+++ b/examples/genl/genl-family-get.c
@@ -169,12 +169,13 @@ static int data_cb(const struct nlmsghdr *nlh, void *data)
printf("maxattr=%u\t",
mnl_attr_get_u32(tb[CTRL_ATTR_MAXATTR]));
}
+ printf("\n");
if (tb[CTRL_ATTR_OPS]) {
- printf("\nops:\n");
+ printf("ops:\n");
parse_genl_family_ops(tb[CTRL_ATTR_OPS]);
}
if (tb[CTRL_ATTR_MCAST_GROUPS]) {
- printf("\ngrps:\n");
+ printf("grps:\n");
parse_genl_mc_grps(tb[CTRL_ATTR_MCAST_GROUPS]);
}
return MNL_CB_OK;