* LVM2/lib/device dev-cache.c
@ 2011-04-28 19:59 zkabelac
0 siblings, 0 replies; 3+ messages in thread
From: zkabelac @ 2011-04-28 19:59 UTC (permalink / raw)
To: lvm-devel
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-04-28 19:59:17
Modified files:
lib/device : dev-cache.c
Log message:
Missing space in debug message
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/device/dev-cache.c.diff?cvsroot=lvm2&r1=1.64&r2=1.65
--- LVM2/lib/device/dev-cache.c 2011/04/22 12:05:33 1.64
+++ LVM2/lib/device/dev-cache.c 2011/04/28 19:59:17 1.65
@@ -546,7 +546,7 @@
"cache fully", dl->dir);
}
else if (!_insert_dir(dl->dir))
- log_debug("%s: Failed to insert devices to"
+ log_debug("%s: Failed to insert devices to "
"device cache fully", dl->dir);
}
}
^ permalink raw reply [flat|nested] 3+ messages in thread* LVM2/lib/device dev-cache.c
@ 2012-01-20 11:01 zkabelac
0 siblings, 0 replies; 3+ messages in thread
From: zkabelac @ 2012-01-20 11:01 UTC (permalink / raw)
To: lvm-devel
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-01-20 11:01:57
Modified files:
lib/device : dev-cache.c
Log message:
Minor cleanup
Simplier and more readable char pointer math.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/device/dev-cache.c.diff?cvsroot=lvm2&r1=1.69&r2=1.70
--- LVM2/lib/device/dev-cache.c 2011/12/21 13:21:09 1.69
+++ LVM2/lib/device/dev-cache.c 2012/01/20 11:01:56 1.70
@@ -256,8 +256,8 @@
strncpy(p0, path0, PATH_MAX);
strncpy(p1, path1, PATH_MAX);
- s0 = &p0[0] + 1;
- s1 = &p1[0] + 1;
+ s0 = p0 + 1;
+ s1 = p1 + 1;
/*
* If we reach here, both paths are the same length.
^ permalink raw reply [flat|nested] 3+ messages in thread
* LVM2/lib/device dev-cache.c
@ 2012-03-06 2:39 agk
0 siblings, 0 replies; 3+ messages in thread
From: agk @ 2012-03-06 2:39 UTC (permalink / raw)
To: lvm-devel
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at 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);
}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-06 2:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 19:59 LVM2/lib/device dev-cache.c zkabelac
-- strict thread matches above, loose matches on Subject: below --
2012-01-20 11:01 zkabelac
2012-03-06 2:39 agk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.