probing.c: bump max disk number from 50 to 250

This limit has become problematic with 60 drives apparently;
let's hope 250 is enough for some time...

Fixes: https://bugzilla.altlinux.org/32934
This commit is contained in:
Michael Shigorin 2016-12-26 14:42:05 +03:00
parent ee79cfe0d3
commit 470ad34dd4

View File

@ -238,8 +238,8 @@ static void find_media(void)
void get_medias(enum media_type media, char *** names, char *** models)
{
struct media_info * m;
char * tmp_names[50];
char * tmp_models[50];
char * tmp_names[250];
char * tmp_models[250];
int count;
find_media();