mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
dmsetup: use stderr for error output
When dmsetup command returns error, the message goes to stderr.
This commit is contained in:
parent
29b2cfba06
commit
3b7834af17
@ -2191,7 +2191,7 @@ static int _error_device(CMD_ARGS)
|
|||||||
name = names ? names->name : argv[0];
|
name = names ? names->name : argv[0];
|
||||||
|
|
||||||
if (!name || !*name) {
|
if (!name || !*name) {
|
||||||
printf("No device specified\n");
|
err("No device specified.");
|
||||||
return_0;
|
return_0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user