diff --git a/src/fmt/print.c b/src/fmt/print.c index f8088108a..a02fb858b 100644 --- a/src/fmt/print.c +++ b/src/fmt/print.c @@ -521,7 +521,7 @@ static int vhprintf(const char *fmt, va_list ap, re_vprintf_h *vph, void *arg, * *
  *   %b  (char *, size_t)        Buffer string with pointer and length
- *   %r  (struct pl)             Pointer-length object
+ *   %r  (struct pl *)           Pointer-length object
  *   %w  (uint8_t *, size_t)     Binary buffer to hexadecimal format
  *   %j  (struct sa *)           Socket address - address part only
  *   %J  (struct sa *)           Socket address and port - like 1.2.3.4:1234
@@ -557,7 +557,7 @@ int re_vhprintf(const char *fmt, va_list ap, re_vprintf_h *vph, void *arg)
  *
  * 
  *   %b  (char *, size_t)        Buffer string with pointer and length
- *   %r  (struct pl)             Pointer-length object
+ *   %r  (struct pl *)           Pointer-length object
  *   %w  (uint8_t *, size_t)     Binary buffer to hexadecimal format
  *   %j  (struct sa *)           Socket address - address part only
  *   %J  (struct sa *)           Socket address and port - like 1.2.3.4:1234