projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72496b9
)
[multipathd] log the uevent discarding as debug information
author
Christophe Varoqui
<christophe.varoqui@free.fr>
Wed, 17 Dec 2008 22:39:47 +0000
(23:39 +0100)
committer
Christophe Varoqui
<christophe.varoqui@free.fr>
Wed, 17 Dec 2008 22:39:47 +0000
(23:39 +0100)
multipathd/main.c
patch
|
blob
|
history
diff --git
a/multipathd/main.c
b/multipathd/main.c
index
e8a2660
..
36aa93c
100644
(file)
--- a/
multipathd/main.c
+++ b/
multipathd/main.c
@@
-614,12
+614,12
@@
uev_discard(char * devpath)
*/
tmp = strstr(devpath, "/block/");
if (tmp == NULL){
- condlog(
0
, "no /block/ in '%s'", devpath);
+ condlog(
4
, "no /block/ in '%s'", devpath);
return 1;
}
if (sscanf(tmp, "/block/%10s", a) != 1 ||
sscanf(tmp, "/block/%10[^/]/%10s", a, b) == 2) {
- condlog(
0
, "discard event on %s", devpath);
+ condlog(
4
, "discard event on %s", devpath);
return 1;
}
return 0;