init: complain on unrecognized option with builtin getopt_long_only()
authorJens Axboe <axboe@kernel.dk>
Thu, 24 Jan 2013 01:11:48 +0000 (18:11 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Jan 2013 01:11:48 +0000 (18:11 -0700)
commit798827c895a585f284842f6b99378be19c821263
treeab51eb28635cb49cb77787d7c2342fe451b668f7
parent1f81991ed356dd7257aef2c715ba9a24d9af93a5
init: complain on unrecognized option with builtin getopt_long_only()

It returns '?' for a bad option, whereas the glibc one does
not. Catch that so we behave identically.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
init.c