mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Downgrade error message - it isn't strictly an internal error in the
library, and the known cause within lvm2 got fixed.
This commit is contained in:
parent
730cfc74b8
commit
b6793963e9
@ -1754,10 +1754,12 @@ static int _emit_segment_line(struct dm_task *dmt, uint32_t major,
|
||||
stack;
|
||||
return r;
|
||||
}
|
||||
if (!params[0])
|
||||
log_error(INTERNAL_ERROR "Empty parameters for "
|
||||
"%s %u:%u.", dm_segtypes[seg->type].target,
|
||||
if (!params[0]) {
|
||||
log_error("No parameters supplied for %s target "
|
||||
"%u:%u.", dm_segtypes[seg->type].target,
|
||||
major, minor);
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user