diff options
-rw-r--r-- | net/tipc/name_table.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/tipc/name_table.c b/net/tipc/name_table.c index 892373e498e..4455f13cfaf 100644 --- a/net/tipc/name_table.c +++ b/net/tipc/name_table.c @@ -905,6 +905,9 @@ static void nameseq_list(struct name_seq *seq, struct print_buf *buf, u32 depth, struct sub_seq *sseq; char typearea[11]; + if (seq->first_free == 0) + return; + sprintf(typearea, "%-10u", seq->type); if (depth == 1) { |