aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/hott/hott_sensors/hott_sensors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/hott/hott_sensors/hott_sensors.cpp')
-rw-r--r--src/drivers/hott/hott_sensors/hott_sensors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/hott/hott_sensors/hott_sensors.cpp b/src/drivers/hott/hott_sensors/hott_sensors.cpp
index 1aade450b..4ac7e4bdf 100644
--- a/src/drivers/hott/hott_sensors/hott_sensors.cpp
+++ b/src/drivers/hott/hott_sensors/hott_sensors.cpp
@@ -197,7 +197,7 @@ hott_sensors_thread_main(int argc, char *argv[])
int
hott_sensors_main(int argc, char *argv[])
{
- if (argc < 1) {
+ if (argc < 2) {
errx(1, "missing command\n%s", commandline_usage);
}