From: David Schleef Date: Tue, 10 Jul 2001 22:21:12 +0000 (+0000) Subject: Fix getopt segfaulting X-Git-Tag: r0_7_16~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1f1293e649fd3ce40ac096eeb2284175cd115613;p=comedilib.git Fix getopt segfaulting --- diff --git a/comedi_config/comedi_config.c b/comedi_config/comedi_config.c index 5d7bab8..ffd6cb3 100644 --- a/comedi_config/comedi_config.c +++ b/comedi_config/comedi_config.c @@ -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)