ccanlint: fix -x core dump
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Nov 2010 01:36:31 +0000 (12:06 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Nov 2010 01:36:31 +0000 (12:06 +1030)
commitdde924399b8e16de3e2426af8a44b4fde95c5f48
tree28817af9e62542d061b20b98cfba156432a9973c
parentef9dec6018e1f0c6e546245a1478be523592d02d
ccanlint: fix -x core dump

This wasn't fixed when we converted to ccan/opt in 8d70667887.

Unfortunately, unistd.h defines optarg, so the compiler didn't catch
this.
tools/ccanlint/ccanlint.c