1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Reduce 'no label found' message severity to debug level.

This commit is contained in:
Alasdair Kergon 2002-01-16 00:01:36 +00:00
parent deb8a3b7c9
commit e0d452a032

View File

@ -30,7 +30,7 @@ static struct labeller_i *_alloc_li(const char *name, struct labeller *l)
len = sizeof(*li) + strlen(name) + 1;
if (!(li = dbg_malloc(len))) {
log_err("Couldn't allocate memory for labeller list object.");
log_error("Couldn't allocate memory for labeller list object.");
return NULL;
}
@ -102,7 +102,7 @@ static struct labeller *_find_labeller(struct device *dev)
return li->l;
}
log_err("Could not find label on device '%s'.", dev_name(dev));
log_debug("No label on device '%s'.", dev_name(dev));
return NULL;
}