summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e375cb)
raw | patch | inline | side by side (parent: 3e375cb)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 3 Sep 2010 07:39:13 +0000 (09:39 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 3 Sep 2010 07:39:13 +0000 (09:39 +0200) |
src/lpar.c | patch | blob | history |
diff --git a/src/lpar.c b/src/lpar.c
index 2267e03cadfbc5f56f650a45b58920c8ae9d1081..ef1fa596f63e7d7a29341b961278dfae957a6028 100644 (file)
--- a/src/lpar.c
+++ b/src/lpar.c
"ReportBySerial"
};
static int config_keys_num = STATIC_ARRAY_SIZE (config_keys);
-static int pool_stats = 0,
- report_by_serial = 0;
+
+static _Bool pool_stats = 0;
+static _Bool report_by_serial = 0;
static u_longlong_t last_time_base;
static u_longlong_t ent_counter;
-static int donate_flag = 0;
+static _Bool donate_flag = 0;
static int lpar_config (const char *key, const char *value)
{
if (IS_TRUE (value))
pool_stats = 1;
+ else
+ pool_stats = 0;
}
else if (strcasecmp ("ReportBySerial", key) == 0)
{
if (IS_TRUE (value))
report_by_serial = 1;
+ else
+ report_by_serial = 0;
}
else
{
plugin_register_read ("lpar", lpar_read);
} /* void module_register */
-/* vim: set sw=2 sts=2 ts=8 : */
+/* vim: set sw=8 noet : */