Applying Fedoras dosfstools-2.7-argfix.patch (no other information
available). Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
This commit is contained in:
parent
ba6774ae1d
commit
78f9dca40b
@ -1634,6 +1634,12 @@ main (int argc, char **argv)
|
|||||||
if (optind < argc)
|
if (optind < argc)
|
||||||
{
|
{
|
||||||
device_name = argv[optind]; /* Determine the number of blocks in the FS */
|
device_name = argv[optind]; /* Determine the number of blocks in the FS */
|
||||||
|
|
||||||
|
if (!device_name) {
|
||||||
|
printf("No device specified.\n");
|
||||||
|
usage();
|
||||||
|
}
|
||||||
|
|
||||||
if (!create)
|
if (!create)
|
||||||
cblocks = count_blocks (device_name); /* Have a look and see! */
|
cblocks = count_blocks (device_name); /* Have a look and see! */
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user