diff --git a/device_parser.c b/device_parser.c index 9c90bda..2cc56a0 100644 --- a/device_parser.c +++ b/device_parser.c @@ -148,7 +148,7 @@ static void parse_board(struct device_parser *dp) void device_parser(const char *path) { struct device_parser dp; - char key[80]; + char key[TOKEN_LENGTH]; FILE *fh; fh = fopen(path, "r");