Code

battery plugin: Fix a typo.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 1 May 2009 14:34:15 +0000 (16:34 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 1 May 2009 14:34:15 +0000 (16:34 +0200)
src/battery.c

index 578884af6172b7bfced6bb442ab8e928ca9dcc4f..70d0486b9b25ed602b3d2d72cd3ccb62f5c7b524 100644 (file)
@@ -441,7 +441,7 @@ static int battery_read (void)
 /* #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];