Skip to content

Commit

Permalink
dahdi_cfg.c: Fix format truncation warning.
Browse files Browse the repository at this point in the history
Increase buffer size to the minimum needed to silence warning.

Resolves: #10
  • Loading branch information
InterLinked1 committed Dec 30, 2024
1 parent 91c6929 commit e0a1b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dahdi_cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static const char *laws[] = {

static bool _are_all_spans_assigned(const char *device_path)
{
char attribute[1024];
char attribute[1036];
int res;
FILE *fp;
int span_count;
Expand Down

0 comments on commit e0a1b18

Please sign in to comment.