mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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];
|
||||
|
||||
if (!name || !*name) {
|
||||
printf("No device specified\n");
|
||||
err("No device specified.");
|
||||
return_0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user