diff --git a/src/battery.c b/src/battery.c
index 33ba29231556bc7feec6a00b35276931224100d1..4178d8b5145f2b728e5c7c949d72ebd8d126a89e 100644 (file)
--- a/src/battery.c
+++ b/src/battery.c
/**
* collectd - src/battery.c
* Copyright (C) 2006,2007 Florian octo Forster
+ * Copyright (C) 2008 Michał Mirosław
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
*
* Authors:
* Florian octo Forster <octo at verplant.org>
+ * Michał Mirosław <mirq-linux at rere.qmqm.pl>
**/
#include "collectd.h"
if (0 == access (battery_acpi_dir, R_OK))
walk_directory (battery_acpi_dir, battery_read_acpi,
- /* user_data = */ NULL);
+ /* user_data = */ NULL,
+ /* include hidden */ 0);
else
{
char errbuf[1024];