aboutsummaryrefslogtreecommitdiff
path: root/net/tipc/zone.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/zone.c')
-rw-r--r--net/tipc/zone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/zone.c b/net/tipc/zone.c
index 114e173f11a..3506f856344 100644
--- a/net/tipc/zone.c
+++ b/net/tipc/zone.c
@@ -82,7 +82,7 @@ void tipc_zone_attach_cluster(struct _zone *z_ptr, struct cluster *c_ptr)
assert(c_ptr->addr);
assert(c_num <= tipc_max_clusters);
- assert(z_ptr->clusters[c_num] == 0);
+ assert(z_ptr->clusters[c_num] == NULL);
z_ptr->clusters[c_num] = c_ptr;
}