aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin_hddtemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin_hddtemp.c b/plugin_hddtemp.c
index c8d742b..465c564 100644
--- a/plugin_hddtemp.c
+++ b/plugin_hddtemp.c
@@ -255,7 +255,7 @@ static void hddtemp_call(RESULT * result, int argc, RESULT * argv[])
host = R2S(argv[0]);
search = R2S(argv[1]);
default:
- if (argv > 3) {
+ if (argc > 3) {
error("hddtemp(): too many parameters");
}
host = R2S(argv[0]);