diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-03-09 16:52:28 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-03-09 16:52:28 +0000 |
commit | 4c9218658e4d4b769acaa41d999b4bce437fbc37 (patch) | |
tree | e88fee9ab232114ee2ec239710d5f7268ebab908 /daemon | |
parent | 99923c7cd0e2d729d0205f872a8ae28775b1b8af (diff) | |
download | libguestfs-4c9218658e4d4b769acaa41d999b4bce437fbc37.tar.gz libguestfs-4c9218658e4d4b769acaa41d999b4bce437fbc37.tar.xz libguestfs-4c9218658e4d4b769acaa41d999b4bce437fbc37.zip |
e2fsck: Comment, whitespace, error message cleanups.
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/ext2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/ext2.c b/daemon/ext2.c index b1c6c020..a427d7a1 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"); |