diff options
Diffstat (limited to 'xlators/cluster/dht/src/tier.c')
-rw-r--r-- | xlators/cluster/dht/src/tier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/tier.c b/xlators/cluster/dht/src/tier.c index fd57ddfaaab..13ce7f4fb2b 100644 --- a/xlators/cluster/dht/src/tier.c +++ b/xlators/cluster/dht/src/tier.c @@ -1583,7 +1583,7 @@ tier_process_brick (tier_brick_list_t *local_brick, void *args) { goto out; } - if (strval && (strncmp(strval, "wal", strlen ("wal")) == 0)) { + if (strval && (strncmp(strval, "wal", SLEN ("wal")) == 0)) { ret = tier_process_self_query (local_brick, args); if (ret) { goto out; |