From d613bceffbf7ebb4d410d2b4e969e414fe9a6b85 Mon Sep 17 00:00:00 2001 From: Gio Lucas Torres Date: Tue, 18 Jun 2024 20:36:35 +0200 Subject: [PATCH] Fix check for wrong number of parameters --- c_src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_src/main.c b/c_src/main.c index b86c01f..5f2f599 100644 --- a/c_src/main.c +++ b/c_src/main.c @@ -30,7 +30,7 @@ int main(int argc, char **argv) driver_data_t data = {0}; // super simple arg check - if (argc != 11) { + if (argc != 12) { log_error("Wrong number of parameters"); return -1; }