LVM2/lib/device dev-cache.c
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.
lib/device/dev-cache.c +2 -2
@@ -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.