Fix spelling in a source code comment
authorBart Van Assche <bvanassche@acm.org>
Sun, 24 May 2020 03:28:21 +0000 (20:28 -0700)
committerBart Van Assche <bvanassche@acm.org>
Sun, 24 May 2020 03:44:36 +0000 (20:44 -0700)
Change two occurrences of 'descritor' into 'descriptor'

Cc: Roman Pen <r.peniaev@gmail.com>
Fixes: 634bd210c17a ("lib/pattern: add set of functions to parse combined pattern input")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
lib/pattern.c

index 2024f2e9cf364a2828d24184eecff4e0c19c9ecc..04d3065795944af4332fd59127b669a261a98647 100644 (file)
@@ -204,8 +204,8 @@ static const char *parse_number(const char *beg, char *out,
  * @out - output buffer where space for format should be reserved
  * @parsed - number of bytes which were already parsed so far
  * @out_len - length of the output buffer
- * @fmt_desc - format descritor array, what we expect to find
- * @fmt_desc_sz - size of the format descritor array
+ * @fmt_desc - format descriptor array, what we expect to find
+ * @fmt_desc_sz - size of the format descriptor array
  * @fmt - format array, the output
  * @fmt_sz - size of format array
  *