/*
- * Copyright (c) International Business Machines Corp., 2006
+ * Copyright (c) International Business Machines Corp., 2007
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* 1.3 Padds data/oob to a given size. (oloh)
* 1.4 Removed argp because we want to use uClibc.
* 1.5 Minor cleanup
+ * 1.6 written variable not initialized (-j did not work) (haver)
*/
#include <unistd.h>
#include "config.h"
#include "nandecc.h"
-#define PROGRAM_VERSION "1.5"
+#define PROGRAM_VERSION "1.6"
#define CHECK_ENDP(option, endp) do { \
if (*endp) { \
{
int rc = -1;
int res = 0;
- size_t written, read;
+ size_t written = 0, read;
myargs args = {
.action = ACT_NORMAL,
.pagesize = PAGESIZE,