mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
e2fsck: Comment, whitespace, error message cleanups.
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user