LVM2/lib/misc util.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mbroz at sourceware.org 2007-07-23 10:41:19
Modified files:
lib/misc : util.c
Log message:
Fix compilation warning in util.c.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/misc/util.c.diff?cvsroot=lvm2&r1=1.1&r2=1.2
lib/misc/util.c +3 -0
@@ -16,6 +16,9 @@* Return the address of the last file name component of NAME. * If NAME ends in a slash, return the empty string. */ + +#include "lib.h" +char *last_path_component (char const *name) {char const *slash =strrchr (name,'/' );