The filename for the OOB data was wrongly assigned.
OOB data could therefore not be dumped.
Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
*
* 1.2 Removed argp because we want to use uClibc.
* 1.3 Minor cleanup
+ * 1.4 Fixed OOB output file
*/
#include <config.h>
#include "config.h"
#include "nandecc.h"
-#define PROGRAM_VERSION "1.3"
+#define PROGRAM_VERSION "1.4"
#define MAXPATH 1024
#define MIN(x,y) ((x)<(y)?(x):(y))
break;
case 'O': /* --oob=<oob.bin> */
- args->output_file = optarg;
+ args->oob_file = optarg;
break;
case '?': /* help */