summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-08-22 15:45:58 +0200
committerDavid Sterba <dsterba@suse.cz>2014-08-22 16:09:56 +0200
commit9f2ff27df8ad34adddf51cab1ec10b9c2b3e8dbd (patch)
tree44959dc5597ab1580303bad0d500373ec36bb422
parent2be623dbae56c6ef15fa40052a31ad65308918c9 (diff)
btrfs-progs: mkfs make --uuid require an argument
$ mkfs.btrfs --uuid 1234... /dev/sdx Error: error checking 1234... status: No such file or directory Signed-off-by: David Sterba <dsterba@suse.cz>
-rw-r--r--mkfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs.c b/mkfs.c
index 0cbbf0b5..9de61e19 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -352,7 +352,7 @@ static struct option long_options[] = {
{ "rootdir", 1, NULL, 'r' },
{ "nodiscard", 0, NULL, 'K' },
{ "features", 1, NULL, 'O' },
- { "uuid", 0, NULL, 'U' },
+ { "uuid", required_argument, NULL, 'U' },
{ NULL, 0, NULL, 0}
};