[dm-devel] [PATCH 24/35] libmultipath: pathinfo(): improve a log message

mwilck at suse.com mwilck at suse.com
Thu Jul 9 10:16:09 UTC 2020


From: Martin Wilck <mwilck at suse.com>

"node" is too generic to be understood without checking the code.

Signed-off-by: Martin Wilck <mwilck at suse.com>
---
 libmultipath/discovery.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmultipath/discovery.c b/libmultipath/discovery.c
index c692026..2e559d8 100644
--- a/libmultipath/discovery.c
+++ b/libmultipath/discovery.c
@@ -2124,7 +2124,7 @@ int pathinfo(struct path *pp, struct config *conf, int mask)
 		pp->fd = open(udev_device_get_devnode(pp->udev), O_RDONLY);
 
 	if (pp->fd < 0) {
-		condlog(4, "Couldn't open node for %s: %s",
+		condlog(4, "Couldn't open device node for %s: %s",
 			pp->dev, strerror(errno));
 		goto blank;
 	}
-- 
2.26.2





More information about the dm-devel mailing list