diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2020-10-02 22:22:25 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2020-10-02 22:27:00 +0200 |
commit | 73a3a0d3476bd55358348bb95ddcdfe9ff1e809e (patch) | |
tree | 97051bd9d050af68029645b6995c9261ad1c5da9 /lib/cache | |
parent | 117fc64e6ef0905e6474d2bf67a890e97d6da450 (diff) | |
download | lvm2-73a3a0d3476bd55358348bb95ddcdfe9ff1e809e.tar.gz |
debug: drop vgid from debug
From the code can be seen the VGID will be always NULL here
as vgid != NULL is already handled before.
Thus drop from being displayed.
Diffstat (limited to 'lib/cache')
-rw-r--r-- | lib/cache/lvmcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cache/lvmcache.c b/lib/cache/lvmcache.c index a2fa0e3fb..ef0f4c391 100644 --- a/lib/cache/lvmcache.c +++ b/lib/cache/lvmcache.c @@ -326,7 +326,7 @@ static struct lvmcache_vginfo *_vginfo_lookup(const char *vgname, const char *vg if ((vginfo = dm_hash_lookup(_vgname_hash, vgname))) { if (vginfo->has_duplicate_local_vgname) { /* should never happen, found_duplicate_vgnames should be set */ - log_error(INTERNAL_ERROR "vginfo_lookup %s %s has_duplicate_local_vgname", vgname, vgid); + log_error(INTERNAL_ERROR "vginfo_lookup %s has_duplicate_local_vgname.", vgname); return NULL; } return vginfo; @@ -336,7 +336,7 @@ static struct lvmcache_vginfo *_vginfo_lookup(const char *vgname, const char *vg if (vgname && _found_duplicate_vgnames) { if ((vginfo = _search_vginfos_list(vgname, vgid))) { if (vginfo->has_duplicate_local_vgname) { - log_debug("vginfo_lookup %s %s has_duplicate_local_vgname return none", vgname, vgid); + log_debug("vginfo_lookup %s has_duplicate_local_vgname return none.", vgname); return NULL; } return vginfo; |