common/buf: rename buf->buf to buf->data

This commit is contained in:
John Lindgren 2024-04-16 23:36:32 -04:00 committed by Johan Malm
parent fccc6a2922
commit a8f98cb90b
10 changed files with 33 additions and 33 deletions

View file

@ -237,7 +237,7 @@ field_set_custom(struct buf *buf, struct view *view, const char *format)
fmt[fmt_position++] = 's';
fmt[fmt_position++] = '\0';
snprintf(converted_field, sizeof(converted_field),
fmt, field_result.buf);
fmt, field_result.data);
/* And finally write it to the output buffer */
buf_add(buf, converted_field);