summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/crush/mapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crush/mapper.c b/src/crush/mapper.c
index 3215564172a..ce23ef7c711 100644
--- a/src/crush/mapper.c
+++ b/src/crush/mapper.c
@@ -562,7 +562,7 @@ int crush_do_rule(const struct crush_map *map,
/* copy final _leaf_ values to output set */
memcpy(o, c, osize*sizeof(*o));
- /* swap t and w arrays */
+ /* swap o and w arrays */
tmp = o;
o = w;
w = tmp;