2018-06-01-stable - filter: make pointers distinguishable
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=24aee732a58a8d45acf90cbdf1d0cf30fe603a09 Commit: 24aee732a58a8d45acf90cbdf1d0cf30fe603a09 Parent: ba6ed5c90c5a191f63c14ee9795f298eba689932 Author: Marian Csontos <[email protected]> AuthorDate: Fri Jun 22 15:07:07 2018 +0200 Committer: Marian Csontos <[email protected]> CommitterDate: Fri Jun 22 15:13:24 2018 +0200
filter: make pointers distinguishable
This ammends commit: 4afb5971b93a with suggestions to improve debugging from Nir Soffer.
--- lib/filters/filter-persistent.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
lib/filters/filter-persistent.c +2 -2
@@ -50,8 +50,8 @@ struct pfilter {* by default. The old code for it should be removed. */ -static int _good_device; -static int _bad_device; +static char * _good_device ="good" ; +static char * _bad_device ="bad" ;/* * The hash table holds one of these two states