1
0
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:
Zdenek Kabelac 2018-03-09 23:29:09 +01:00
parent 29b2cfba06
commit 3b7834af17

View File

@ -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;
}