summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/thirdparty.c
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-12-01 13:36:05 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-12-01 13:59:04 +0100
commit047af8e25d0d4827ac6dd80db8ff47944c93f067 (patch)
treee2edb20fb26cb3caac80e5edc12c48f219a595e4 /mdk-stage1/thirdparty.c
parent3973d2c0d75b26326f771ff160cd0027006beb82 (diff)
downloaddrakx-047af8e25d0d4827ac6dd80db8ff47944c93f067.tar
drakx-047af8e25d0d4827ac6dd80db8ff47944c93f067.tar.gz
drakx-047af8e25d0d4827ac6dd80db8ff47944c93f067.tar.bz2
drakx-047af8e25d0d4827ac6dd80db8ff47944c93f067.tar.xz
drakx-047af8e25d0d4827ac6dd80db8ff47944c93f067.zip
fix compiling with gcc8
Diffstat (limited to 'mdk-stage1/thirdparty.c')
-rw-r--r--mdk-stage1/thirdparty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/thirdparty.c b/mdk-stage1/thirdparty.c
index 38200357c..9a9e58e39 100644
--- a/mdk-stage1/thirdparty.c
+++ b/mdk-stage1/thirdparty.c
@@ -241,7 +241,7 @@ static int pcitable_orderer(const void *a, const void *b)
static void thirdparty_load_pcitable(const char *modules_location)
{
- char pcitable_filename[100];
+ char pcitable_filename[110];
FILE * f = NULL;
sprintf(pcitable_filename, "%s/pcitable", modules_location);
@@ -346,7 +346,7 @@ static enum return_type thirdparty_autoload_modules(const char *modules_location
static enum return_type thirdparty_try_directory(char * root_directory, int interactive) {
char modules_location[100];
- char modules_location_release[100];
+ char modules_location_release[200];
char *list_filename;
FILE *f_load, *f_detect;
char **modules_list, **modules_list_release;