forked from enlightenment/enlightenment
parent
41f98b96bb
commit
403e86d67c
|
@ -1025,8 +1025,7 @@ linux_acpi_init(void)
|
||||||
char buf[PATH_MAX + 6];
|
char buf[PATH_MAX + 6];
|
||||||
FILE *f;
|
FILE *f;
|
||||||
|
|
||||||
strcpy(buf, info->path);
|
snprintf(buf, sizeof(buf), "%s/info", info->path);
|
||||||
strcat(buf, "/info");
|
|
||||||
f = fopen(buf, "r");
|
f = fopen(buf, "r");
|
||||||
if (f)
|
if (f)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue