Skip to content

Commit

Permalink
in_netif: add missing return type
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro Yamashita <[email protected]>
  • Loading branch information
nokute78 authored and edsiper committed Jul 6, 2022
1 parent 2d65069 commit b1662a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/in_netif/in_netif.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ static inline uint64_t calc_diff(struct netif_entry *entry)
}

#define LINE_LEN 256
static read_proc_file_linux(struct flb_in_netif_config *ctx)
static int read_proc_file_linux(struct flb_in_netif_config *ctx)
{
FILE *fp = NULL;
char line[LINE_LEN] = {0};
Expand Down

0 comments on commit b1662a4

Please sign in to comment.