1
0
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:
Alasdair Kergon 2011-07-08 19:13:05 +00:00
parent 730cfc74b8
commit b6793963e9

View File

@ -1754,10 +1754,12 @@ static int _emit_segment_line(struct dm_task *dmt, uint32_t major,
stack; stack;
return r; return r;
} }
if (!params[0]) if (!params[0]) {
log_error(INTERNAL_ERROR "Empty parameters for " log_error("No parameters supplied for %s target "
"%s %u:%u.", dm_segtypes[seg->type].target, "%u:%u.", dm_segtypes[seg->type].target,
major, minor); major, minor);
return 0;
}
break; break;
} }