nandwrite: fix build when long options are disabled
authorBaruch Siach <baruch at tkos.co.il>
Wed, 17 Dec 2014 16:02:37 +0000 (17:02 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 17 Dec 2014 16:02:37 +0000 (17:02 +0100)
commite835afadfe84a820b698f715a01e777f8b7bf833
tree67d025d5553d16c299e37b9e7c5b74ac0adbd2cc
parent20cd31a2d7cc1b633b725280eb7546ca14eef7eb
nandwrite: fix build when long options are disabled

The Required_argument macro is only defined when long options are enabled.
Fixes the following build error:

miscutils/nandwrite.c: In function 'nandwrite_main':
miscutils/nandwrite.c:120:10: error: expected ',' or ';' before 'Required_argument'

Reported-by: Christian Kästner <kaestner at cs.cmu.edu>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/nandwrite.c