[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/lib/device dev-cache.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk sourceware org	2012-03-06 02:39:25

Modified files:
	lib/device     : dev-cache.c 

Log message:
	re-word warnings to be clearer to user

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/device/dev-cache.c.diff?cvsroot=lvm2&r1=1.73&r2=1.74

--- LVM2/lib/device/dev-cache.c	2012/03/04 17:40:59	1.73
+++ LVM2/lib/device/dev-cache.c	2012/03/06 02:39:25	1.74
@@ -510,18 +510,18 @@
 
 	udev_list_entry_foreach(device_entry, udev_enumerate_get_list_entry(udev_enum)) {
 		if (!(device = udev_device_new_from_syspath(udev, udev_list_entry_get_name(device_entry)))) {
-			log_warn("Udev returns NULL device.");
+			log_warn("WARNING: udev failed to return a device entry.");
 			continue;
 		}
 
 		if (!(node_name = udev_device_get_devnode(device)))
-			log_warn("Udev returns NULL devnode.");
+			log_warn("WARNING: udev failed to return a device node.");
 		else
 			r &= _insert(node_name, 0, 0);
 
 		udev_list_entry_foreach(symlink_entry, udev_device_get_devlinks_list_entry(device)) {
 			if (!(symlink_name = udev_list_entry_get_name(symlink_entry)))
-				log_warn("Udev returns NULL name.");
+				log_warn("WARNING: udev failed to return a symlink name.");
 			else
 				r &= _insert(symlink_name, 0, 0);
 		}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]