fix a typo

This commit is contained in:
rui.zou
2017-09-30 12:38:15 +08:00
parent 2bf8c2c130
commit e600ef2c92

View File

@@ -1083,7 +1083,7 @@ size_t _dictGetStatsHt(char *buf, size_t bufsize, dictht *ht, int tableid) {
i, clvector[i], ((float)clvector[i]/ht->size)*100);
}
/* Unlike snprintf(), teturn the number of characters actually written. */
/* Unlike snprintf(), return the number of characters actually written. */
if (bufsize) buf[bufsize-1] = '\0';
return strlen(buf);
}