summaryrefslogtreecommitdiff
path: root/lib/access.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-08-31 14:42:20 +0000
committerJean Delvare <khali@linux-fr.org>2007-08-31 14:42:20 +0000
commita82c6b0476fac3fa5c46f542fa9a1eac79f855a8 (patch)
tree244fd79ee5f09a12ad909fe9935420c35caa559e /lib/access.c
parent02dc2e66796c57a8f1a5035764e824f7beb745b5 (diff)
downloadlm-sensors-git-a82c6b0476fac3fa5c46f542fa9a1eac79f855a8.tar.gz
Mass reindent, coding style and whitespace cleanups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4736 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib/access.c')
-rw-r--r--lib/access.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/access.c b/lib/access.c
index e7d6c98e..af8167cb 100644
--- a/lib/access.c
+++ b/lib/access.c
@@ -29,8 +29,8 @@
#include "general.h"
static int sensors_eval_expr(const sensors_chip_name *name,
- const sensors_expr *expr,
- double val, double *result);
+ const sensors_expr *expr,
+ double val, double *result);
/* Compare two chips name descriptions, to see whether they could match.
Return 0 if it does not match, return 1 if it does match. */
@@ -158,7 +158,7 @@ char *sensors_get_label(const sensors_chip_name *name, int feature)
for (chip = NULL; (chip = sensors_for_all_config_chips(name, chip));)
for (i = 0; i < chip->labels_count; i++)
- if (!strcasecmp(featureptr->data.name,chip->labels[i].name)){
+ if (!strcasecmp(featureptr->data.name, chip->labels[i].name)) {
label = strdup(chip->labels[i].value);
goto sensors_get_label_exit;
}