comedi_board_info: increased length of strtmp[]
`strtmp` is currently declared as `char strtmp[16]`, but that may be too short for the calls to `unit_to_desc()` when the type of unit is unknown. Increase its length to 32.
This commit is contained in:
parent
ba3117525a
commit
1994c8d96c
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ int main(int argc,char *argv[])
|
|||
comedi_t *it;
|
||||
char *filename = default_filename;
|
||||
char c;
|
||||
char strtmp[16];
|
||||
char strtmp[32];
|
||||
int n_chans_for_generic_timed = 1;
|
||||
int freq_for_generic_timed = 1E9;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue