diff options
Diffstat (limited to 'mbadblocks.c')
-rw-r--r-- | mbadblocks.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mbadblocks.c b/mbadblocks.c index 0f68abb..9b54331 100644 --- a/mbadblocks.c +++ b/mbadblocks.c @@ -21,7 +21,6 @@ #include "sysincludes.h" #include "mtools.h" -#include "mainloop.h" #include "fsP.h" #define N_PATTERN 311 @@ -114,7 +113,6 @@ void mbadblocks(int argc, char **argv, int type UNUSEDP) unsigned int i; unsigned int startSector=2; unsigned int endSector=0; - struct MainParam_t mp; Fs_t *Fs; Stream_t *Dir; int ret; @@ -159,8 +157,6 @@ void mbadblocks(int argc, char **argv, int type UNUSEDP) usage(1); } - init_mp(&mp); - Dir = open_root_dir(argv[optind][0], O_RDWR, NULL); if (!Dir) { fprintf(stderr,"%s: Cannot initialize drive\n", argv[0]); |