Skip to content
Snippets Groups Projects
Commit 675d8a46 authored by Corey Farrell's avatar Corey Farrell
Browse files

main/astfd: Fix GCC8 format-truncation warning.

The field used to store call arguments was not large enough to hold the
arguments string that can be constructed for 'open'.  Expand it to
prevent this warning/error.

Change-Id: I514927f256481bc84df10a51b19d5b5fb1bc387e
parent 265d91a1
Branches
Tags
No related merge requests found
...@@ -53,7 +53,7 @@ static struct fdleaks { ...@@ -53,7 +53,7 @@ static struct fdleaks {
unsigned int isopen:1; unsigned int isopen:1;
char file[40]; char file[40];
char function[25]; char function[25];
char callargs[60]; char callargs[100];
struct timeval now; struct timeval now;
} fdleaks[1024] = { { "", }, }; } fdleaks[1024] = { { "", }, };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment