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>
master
David Sterba 2014-08-22 15:45:58 +02:00
parent 2be623dbae
commit 9f2ff27df8
1 changed files with 1 additions and 1 deletions

2
mkfs.c
View File

@ -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}
};