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

Fix segfault in uuid display (substitution missed during bulk change)

This commit is contained in:
Alasdair Kergon 2003-01-09 19:35:17 +00:00
parent 199e490e7d
commit 04e8cd96f3
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
1.95.14-cvs (2003-01-08) 1.95.15-cvs (2003-01-09)

View File

@ -456,7 +456,7 @@ static int _uuid_disp(struct report_handle *rh, struct field *field,
{ {
char *repstr = NULL; char *repstr = NULL;
if (!(field->report_string = pool_alloc(rh->mem, 40))) { if (!(repstr = pool_alloc(rh->mem, 40))) {
log_error("pool_alloc failed"); log_error("pool_alloc failed");
return 0; return 0;
} }