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:
parent
ee79cfe0d3
commit
470ad34dd4
@ -238,8 +238,8 @@ static void find_media(void)
|
|||||||
void get_medias(enum media_type media, char *** names, char *** models)
|
void get_medias(enum media_type media, char *** names, char *** models)
|
||||||
{
|
{
|
||||||
struct media_info * m;
|
struct media_info * m;
|
||||||
char * tmp_names[50];
|
char * tmp_names[250];
|
||||||
char * tmp_models[50];
|
char * tmp_models[250];
|
||||||
int count;
|
int count;
|
||||||
|
|
||||||
find_media();
|
find_media();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user