forked from enlightenment/enlightenment
oops ppurka - %i on wrong part of string. fix. this is what happens
when u cant test :) SVN revision: 71424
This commit is contained in:
parent
0ed1c99f2c
commit
35dda3c894
|
@ -336,8 +336,8 @@ _e_acpi_lid_status_get(const char *device, const char *bus)
|
|||
*/
|
||||
for (i = 0; i < 10; i++)
|
||||
{
|
||||
snprintf(buff, sizeof(buff), "/proc/acpi/%s%i/%s/state",
|
||||
device, i, bus);
|
||||
snprintf(buff, sizeof(buff), "/proc/acpi/%s/%s%i/state",
|
||||
device, bus, i);
|
||||
if ((f = fopen(buff, "r"))) break;
|
||||
f = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue