forked from enlightenment/enlightenment
warn - make buffer bigger to avoid trunc warn
This commit is contained in:
parent
3ea9f34e00
commit
f511777d7b
|
@ -100,7 +100,7 @@ fm_open(const char *path)
|
|||
p = strdup(buf);
|
||||
else
|
||||
{
|
||||
char tmp[PATH_MAX];
|
||||
char tmp[PATH_MAX + PATH_MAX + 2];
|
||||
snprintf(tmp, sizeof(tmp), "%s/%s", buf, path);
|
||||
p = strdup(tmp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue