chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2015553
)
shutdown: downgrade a warning
author
Michal Schmidt
<mschmidt@redhat.com>
Fri, 7 Dec 2012 16:28:30 +0000
(17:28 +0100)
committer
Michal Schmidt
<mschmidt@redhat.com>
Fri, 7 Dec 2012 16:28:30 +0000
(17:28 +0100)
All messages of the kind "not all done, %d left" are log_info, except
the one for DM devices. Make it info too.
src/core/shutdown.c
patch
|
blob
|
history
diff --git
a/src/core/shutdown.c
b/src/core/shutdown.c
index 4bb4b4d13e435e157a950907762d5902fce246c6..192746a9532b07525719cc7b68610a4cd1f96f16 100644
(file)
--- a/
src/core/shutdown.c
+++ b/
src/core/shutdown.c
@@
-233,7
+233,7
@@
int main(int argc, char *argv[]) {
if (r == 0)
need_dm_detach = false;
else if (r > 0)
- log_
warning
("Not all DM devices detached, %d left.", r);
+ log_
info
("Not all DM devices detached, %d left.", r);
else
log_error("Failed to detach DM devices: %s", strerror(-r));
}