]> sourceware.org Git - lvm2.git/commit
report: avoid passing NULL label
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 12 Jun 2014 09:33:16 +0000 (11:33 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 12 Jun 2014 09:55:58 +0000 (11:55 +0200)
commit922f884abeae010589fa775b022d284dfec9e075
treee4060ed0eb9c7ae84a31a206d4c6fb64adbc6893
parentc230ae95abf4e0dd08183c37d204b0145ce0a5e8
report: avoid passing NULL label

Internal reporting function cannot handle NULL reporting value,
so ensure there is at least dummy label.

So move dummy_lable from tools/reporter.c and use it for all
report_object() calls in lib/report/report.c.
(Fixes RHBZ 1108394)

Simlify lvm_report_object initialization.
WHATS_NEW
lib/report/report.c
tools/reporter.c
This page took 0.037676 seconds and 5 git commands to generate.