1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-17 06:04:23 +03:00

lvmetad: Fix an obscure error message.

This commit is contained in:
Petr Rockai 2012-07-31 11:43:35 +02:00
parent e0c2211c34
commit 8791d01fee

View File

@ -918,8 +918,7 @@ static response pv_found(lvmetad_state *s, request r)
else {
unlock_vg(s, vgid);
return daemon_reply_simple("failed", "reason = %s",
// FIXME provide meaningful-to-user error message
"internal treason!", NULL);
"non-orphan VG without metadata encountered", NULL);
}
unlock_vg(s, vgid);
}