diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-06-21 15:16:03 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-06-23 14:53:59 +0200 |
commit | af36f5ad369ebf4c1d768145a827436ccef22f63 (patch) | |
tree | e8e2a317cf561864d3a70f9b525c1b1c153d4ae4 /lib | |
parent | 751163a74375cc3bfc9f338f1317f14a23798812 (diff) | |
download | lvm2-af36f5ad369ebf4c1d768145a827436ccef22f63.tar.gz |
activation: switch to warning
Since this function does not have a way to return error use correct
reporting level as warning.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/activate/activate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/activate/activate.c b/lib/activate/activate.c index 089af5372..8892a2a12 100644 --- a/lib/activate/activate.c +++ b/lib/activate/activate.c @@ -1454,9 +1454,9 @@ static int _lv_is_active(const struct logical_volume *lv, * Old users of this function will never be affected by this, * since they are only concerned about active vs. not active. * New users of this function who specifically ask for 'exclusive' - * will be given an error message. + * will be given a warning message. */ - log_error("Unable to determine exclusivity of %s.", display_lvname(lv)); + log_warn("WARNING: Unable to determine exclusivity of %s.", display_lvname(lv)); e = 0; |