Fix getopt segfaulting
authorDavid Schleef <ds@schleef.org>
Tue, 10 Jul 2001 22:21:12 +0000 (22:21 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 10 Jul 2001 22:21:12 +0000 (22:21 +0000)
comedi_config/comedi_config.c

index 5d7bab8c1bbf3ec1fa39f9172825dc53a402ea01..ffd6cb3b19a6e288577bfffe877c106f1f67879e 100644 (file)
@@ -56,6 +56,7 @@ struct option options[] = {
        { "remove", 0, 0, 'r' },
        { "read-buffer", 1, NULL, 0x1000},
        { "write-buffer", 1, NULL, 0x1001},
+       { 0 },
 };
 
 void do_help(int i)