summaryrefslogtreecommitdiff
path: root/lib/access.c
diff options
context:
space:
mode:
authorAndre Prendel <andre.prendel@gmx.de>2009-03-02 13:07:23 +0000
committerAndre Prendel <andre.prendel@gmx.de>2009-03-02 13:07:23 +0000
commita03ec0935945e1054044ad4387b1e92dc539fe5f (patch)
tree33be4e4a3ccf072104a39dd8b440438715a39d8e /lib/access.c
parent9d0552984c138cc9535161e51112dd39af8b76b8 (diff)
downloadlm-sensors-git-a03ec0935945e1054044ad4387b1e92dc539fe5f.tar.gz
Use __func__ in sensors_fatal_error() to get function name.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5674 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'lib/access.c')
-rw-r--r--lib/access.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/access.c b/lib/access.c
index af296abc..01c345ea 100644
--- a/lib/access.c
+++ b/lib/access.c
@@ -201,8 +201,7 @@ char *sensors_get_label(const sensors_chip_name *name,
sensors_get_label_exit:
if (!label)
- sensors_fatal_error("sensors_get_label",
- "Allocating label text");
+ sensors_fatal_error(__func__, "Allocating label text");
return label;
}