diff options
Diffstat (limited to 'gcc/fortran/options.c')
-rw-r--r-- | gcc/fortran/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/options.c b/gcc/fortran/options.c index 5fb8740..f0135bd 100644 --- a/gcc/fortran/options.c +++ b/gcc/fortran/options.c @@ -155,7 +155,7 @@ gfc_handle_module_path_options (const char *arg) exit (3); } - gfc_option.module_dir = (char *) gfc_getmem (strlen (arg)); + gfc_option.module_dir = (char *) gfc_getmem (strlen (arg) + 2); strcpy (gfc_option.module_dir, arg); strcat (gfc_option.module_dir, "/"); } |