use PATH_MAX for path buffers

SVN revision: 80843
This commit is contained in:
Mike Blumenkrantz 2012-12-13 13:16:01 +00:00
parent 44442a8e45
commit 41236712d9
1 changed files with 1 additions and 1 deletions

View File

@ -993,7 +993,7 @@ linux_acpi_init(void)
{ {
EINA_ITERATOR_FOREACH(powers, info) EINA_ITERATOR_FOREACH(powers, info)
{ {
char buf[4096]; char buf[PATH_MAX];
FILE *f; FILE *f;
strcpy(buf, info->path); strcpy(buf, info->path);