diff --git a/src/battery.c b/src/battery.c
index 578884af6172b7bfced6bb442ab8e928ca9dcc4f..70d0486b9b25ed602b3d2d72cd3ccb62f5c7b524 100644 (file)
--- a/src/battery.c
+++ b/src/battery.c
/* #endif HAVE_IOKIT_IOKITLIB_H || HAVE_IOKIT_PS_IOPOWERSOURCES_H */
#elif KERNEL_LINUX
- static c_complain_t acpi_dir_complaint = C_COMPLAIN_INIT_STATIC;
+ static c_complain_t acpi_dir_complaint = C_COMPLAIN_INIT;
FILE *fh;
char buffer[1024];