]> www.infradead.org Git - users/hch/nvme-cli.git/commit
Use int type for CFG_NONE
authorKeith Busch <keith.busch@intel.com>
Tue, 7 Jun 2016 16:25:50 +0000 (10:25 -0600)
committerKeith Busch <keith.busch@intel.com>
Wed, 8 Jun 2016 16:30:34 +0000 (10:30 -0600)
commitc7e34ca41a9843cfdc0778b3c461e4604701b77a
treed64068862b3300f23cd78d79bff91494dc47e222
parentcf0027e7774c352542fb5642c1402f405abf6e62
Use int type for CFG_NONE

GNU long option requires flag be an int pointer. We were potentially
corrupting other parameters when using the 8-byte type.

Signed-off-by: Keith Busch <keith.busch@intel.com>
nvme.c