From: Loic Dachary Date: Sun, 19 Feb 2017 09:08:26 +0000 (+0100) Subject: doc: crush typo s/ENOMEN/ENOMEM/ X-Git-Tag: v12.0.1~297^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6502199e4795f7f23ecc28a6002f1daef1c67920;p=ceph-ci.git doc: crush typo s/ENOMEN/ENOMEM/ Signed-off-by: Loic Dachary --- diff --git a/src/crush/builder.h b/src/crush/builder.h index 66554535cb1..635d784266a 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__