From 6502199e4795f7f23ecc28a6002f1daef1c67920 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Sun, 19 Feb 2017 10:08:26 +0100 Subject: [PATCH] doc: crush typo s/ENOMEN/ENOMEM/ Signed-off-by: Loic Dachary --- src/crush/builder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crush/builder.h b/src/crush/builder.h index 66554535cb126..635d784266a19 100644 --- a/src/crush/builder.h +++ b/src/crush/builder.h @@ -169,7 +169,7 @@ struct crush_bucket *crush_make_bucket(struct crush_map *map, int alg, int hash, * If __bucket->alg__ is ::CRUSH_BUCKET_UNIFORM, the value of __weight__ must be equal to * __(struct crush_bucket_uniform *)bucket->item_weight__. * - * - return -ENOMEN if the __bucket__ cannot be resized with __realloc(3)__. + * - return -ENOMEM if the __bucket__ cannot be resized with __realloc(3)__. * - return -ERANGE if adding __weight__ to the weight of the bucket overflows. * - return -1 if the value of __bucket->alg__ is unknown. * @@ -224,7 +224,7 @@ extern int crush_remove_bucket(struct crush_map *map, struct crush_bucket *bucke * the bucket weight. If the weight of the item is greater than the * weight of the bucket, silentely set the bucket weight to zero. * - * - return -ENOMEN if the __bucket__ cannot be sized down with __realloc(3)__. + * - return -ENOMEM if the __bucket__ cannot be sized down with __realloc(3)__. * - return -1 if the value of __bucket->alg__ is unknown. * * @param map __unused__ -- 2.39.5