1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

fix a _get_vgs return

This commit is contained in:
Alasdair Kergon 2008-01-16 22:52:46 +00:00
parent 9e6c1edc88
commit 70955d40a1

View File

@ -1899,7 +1899,7 @@ static int _get_pvs(struct cmd_context *cmd, struct list **pvslist)
if (pvslist) {
if (!(results = dm_pool_alloc(cmd->mem, sizeof(*results)))) {
log_error("PV list allocation failed");
return NULL;
return 0;
}
list_init(results);