commit | f646c8e09cec53da8f3100a1a6b5574f40d5dc37 | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.huber@secunet.com> | Tue Jan 23 16:24:57 2024 +0100 |
committer | Nico Huber <nico.huber@secunet.com> | Tue Jan 23 16:24:57 2024 +0100 |
tree | 323cae0408d6c16430e75b56ab8f7517a1fa4068 | |
parent | 9775da287ab86d01b7657dce5b1b4dc4553bcdfe [diff] |
main(): Initialize options struct get_options() expects `->devname == NULL`.
diff --git a/src/main.c b/src/main.c index 723e26c..8db750d 100644 --- a/src/main.c +++ b/src/main.c
@@ -17,7 +17,7 @@ int main(int argc, char* argv[]) { - struct program_options opt; + struct program_options opt = { 0, }; int ret = -1; adainit();