[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 01/02: fix undeclared variables compile error when not having netcat

noreply at xfce.org noreply at xfce.org
Thu Feb 16 22:42:10 CET 2017


This is an automated email from the git hooks/post-receive script.

timystery pushed a commit to branch master
in repository panel-plugins/xfce4-sensors-plugin.

commit 263293a0034f53a5409f6474871f2a534ec348b7
Author: Fabian <timystery at arcor.de>
Date:   Thu Feb 16 17:17:02 2017 +0100

    fix undeclared variables compile error when not having netcat
---
 lib/hddtemp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/hddtemp.c b/lib/hddtemp.c
index 478ad78..68a14e2 100644
--- a/lib/hddtemp.c
+++ b/lib/hddtemp.c
@@ -401,9 +401,9 @@ initialize_hddtemp (GPtrArray *arr_ptr_chips, gboolean *suppressmessage)
      and major/minor number stuff from compile time*/
 
     if (strcmp(p_uname->sysname, "Linux")==0 && (generation>=3 || (generation==2 && major>=5)))
-        read_disks_linux26 (chip);
+        read_disks_linux26 (ptr_chip);
     else
-        read_disks_fallback (chip); /* hopefully, that's a safe variant */
+        read_disks_fallback (ptr_chip); /* hopefully, that's a safe variant */
 
     g_free(p_uname);
 #endif

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list