Skip to content

Commit 3e2a47a

Browse files
committed
dahdi_cfg.c: Fix format truncation warning.
Increase buffer size to the minimum needed to silence warning.
1 parent 91c6929 commit 3e2a47a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: dahdi_cfg.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ static const char *laws[] = {
142142

143143
static bool _are_all_spans_assigned(const char *device_path)
144144
{
145-
char attribute[1024];
145+
char attribute[1036];
146146
int res;
147147
FILE *fp;
148148
int span_count;

0 commit comments

Comments
 (0)