mirror of
https://github.com/AltraMayor/f3.git
synced 2025-08-03 18:46:00 -04:00
f3probe: rename block device to disk device
f3probe really cares about disk devices.
This commit is contained in:
parent
3f02ab9ac6
commit
7f37ff5efb
@ -19,7 +19,7 @@
|
|||||||
const char *argp_program_version = "F3 Probe " F3_STR_VERSION;
|
const char *argp_program_version = "F3 Probe " F3_STR_VERSION;
|
||||||
|
|
||||||
/* Arguments. */
|
/* Arguments. */
|
||||||
static char adoc[] = "<BLOCK_DEV>";
|
static char adoc[] = "<DISK_DEV>";
|
||||||
|
|
||||||
static char doc[] = "F3 Probe -- probe a block device for "
|
static char doc[] = "F3 Probe -- probe a block device for "
|
||||||
"counterfeit flash memory. If counterfeit, "
|
"counterfeit flash memory. If counterfeit, "
|
||||||
@ -208,7 +208,7 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state)
|
|||||||
case ARGP_KEY_END:
|
case ARGP_KEY_END:
|
||||||
if (!args->filename)
|
if (!args->filename)
|
||||||
argp_error(state,
|
argp_error(state,
|
||||||
"The block device was not specified");
|
"The disk device was not specified");
|
||||||
if (args->debug &&
|
if (args->debug &&
|
||||||
!dev_param_valid(args->real_size_byte,
|
!dev_param_valid(args->real_size_byte,
|
||||||
args->fake_size_byte, args->wrap,
|
args->fake_size_byte, args->wrap,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user