mirror of
https://github.com/AltraMayor/f3.git
synced 2025-08-03 18:46:00 -04:00
f3probe: improve messages to users
This commit is contained in:
parent
263ea4f68e
commit
919451abb9
@ -405,7 +405,7 @@ static int test_device(struct args *args)
|
|||||||
assert(!gettimeofday(&t2, NULL));
|
assert(!gettimeofday(&t2, NULL));
|
||||||
|
|
||||||
if (!args->debug && args->reset_type == RT_MANUAL_USB) {
|
if (!args->debug && args->reset_type == RT_MANUAL_USB) {
|
||||||
printf("CAUTION\tCAUTION\tCAUTION\n");
|
printf("CAUTION\t\tCAUTION\t\tCAUTION\n");
|
||||||
printf("No more resets are needed, so do not unplug the drive\n");
|
printf("No more resets are needed, so do not unplug the drive\n");
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
@ -602,7 +602,8 @@ struct device *create_block_device(const char *filename, int block_order,
|
|||||||
assert(disk_dev);
|
assert(disk_dev);
|
||||||
s = udev_device_get_devnode(disk_dev);
|
s = udev_device_get_devnode(disk_dev);
|
||||||
fprintf(stderr, "Device `%s' is a partition of disk device `%s'.\n"
|
fprintf(stderr, "Device `%s' is a partition of disk device `%s'.\n"
|
||||||
"You can run this program as follows:\nf3probe %s\n",
|
"You must run f3probe on the disk device as follows:\n"
|
||||||
|
"f3probe %s\n",
|
||||||
filename, s, s);
|
filename, s, s);
|
||||||
udev_device_unref(disk_dev);
|
udev_device_unref(disk_dev);
|
||||||
goto fd_dev;
|
goto fd_dev;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user