Message ID | 1347988245-31413-3-git-send-email-peter.senna@gmail.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Peter Senna Tschudin <peter.senna@gmail.com> Date: Tue, 18 Sep 2012 19:10:45 +0200 > Found by http://coccinelle.lip6.fr/ > > Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/tipc/name_table.c b/net/tipc/name_table.c index 98975e8..4675477 100644 --- a/net/tipc/name_table.c +++ b/net/tipc/name_table.c @@ -783,7 +783,7 @@ static int subseq_list(struct sub_seq *sseq, char *buf, int len, u32 depth, if (!list_is_last(&publ->zone_list, &info->zone_list)) ret += tipc_snprintf(buf + ret, len - ret, "\n%33s", " "); - }; + } ret += tipc_snprintf(buf + ret, len - ret, "\n"); return ret;
Found by http://coccinelle.lip6.fr/ Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> --- net/tipc/name_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)