summaryrefslogtreecommitdiff
path: root/src/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/module.c')
-rw-r--r--src/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c
index 83964bb..3f6b713 100644
--- a/src/module.c
+++ b/src/module.c
@@ -57,7 +57,7 @@ static const struct mod_export *find_module(const struct pl *pl)
static int load_module(struct mod **modp, const struct pl *modpath,
const struct pl *name)
{
- char file[256];
+ char file[FS_PATH_MAX];
struct mod *m = NULL;
int err = 0;