From: "Richard W.M. Jones" <rjones(a)redhat.com>
---
daemon/ext2.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/daemon/ext2.c b/daemon/ext2.c
index b1c6c02..a427d7a 100644
--- a/daemon/ext2.c
+++ b/daemon/ext2.c
@@ -264,6 +264,7 @@ do_resize2fs_M (const char *device)
return 0;
}
+/* Takes optional arguments, consult optargs_bitmask. */
int
do_e2fsck (const char *device,
int correct,
@@ -285,11 +286,10 @@ do_e2fsck (const char *device,
forceall = 0;
if (correct && forceall) {
- reply_with_error("Only one of the options may be specified");
+ reply_with_error ("only one of the options 'correct', 'forceall'
may be specified");
return -1;
}
-
ADD_ARG (argv, i, prog);
ADD_ARG (argv, i, "-f");
--
1.7.9.1