diff --git a/src/t_zset.c b/src/t_zset.c index f7f4c6eb2..5c65bc223 100644 --- a/src/t_zset.c +++ b/src/t_zset.c @@ -1247,7 +1247,7 @@ int zsetScore(robj *zobj, sds member, double *score) { * none could be set if we re-added an element using the same score it used * to have, or in the case a zero increment is used). * - * The function returns 0 on erorr, currently only when the increment + * The function returns 0 on error, currently only when the increment * produces a NAN condition, or when the 'score' value is NAN since the * start. *