Many files:
Checked in e2fsprogs 0.5c
diff --git a/e2fsck/ehandler.c b/e2fsck/ehandler.c
index 4873a95..131a0ab 100644
--- a/e2fsck/ehandler.c
+++ b/e2fsck/ehandler.c
@@ -11,10 +11,12 @@
#include <string.h>
#include <ctype.h>
#include <termios.h>
-#include <sys/resource.h>
#include "e2fsck.h"
+#include <sys/time.h>
+#include <sys/resource.h>
+
static const char *operation;
static errcode_t e2fsck_handle_read_error(io_channel channel,
@@ -49,7 +51,7 @@
else
printf("Error reading block %lu (%s). ", block,
error_message(error));
- preenhalt();
+ preenhalt(NULL);
if (ask("Ignore error", 1))
return 0;
@@ -89,7 +91,7 @@
else
printf("Error writing block %lu (%s). ", block,
error_message(error));
- preenhalt();
+ preenhalt(NULL);
if (ask("Ignore error", 1))
return 0;