From baaa3da23e78ecccd64a7ee51d00f0eecaeca6f1 Mon Sep 17 00:00:00 2001 From: Yasuyuki Tanaka Date: Wed, 11 Jan 2017 21:13:16 +0100 Subject: [PATCH] ringbufindex: fix a typo in a comment --- core/lib/ringbufindex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/ringbufindex.h b/core/lib/ringbufindex.h index c39f99d18..722676b49 100644 --- a/core/lib/ringbufindex.h +++ b/core/lib/ringbufindex.h @@ -58,7 +58,7 @@ int ringbufindex_peek_put(const struct ringbufindex *r); /* Remove the first element and return its index */ int ringbufindex_get(struct ringbufindex *r); /* Return the index of the first element - * (which will be removed if calling ringbufindex_peek) */ + * (which will be removed if calling ringbufindex_get) */ int ringbufindex_peek_get(const struct ringbufindex *r); /* Return the ring buffer size */ int ringbufindex_size(const struct ringbufindex *r);