1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Fix compilation warning in util.c.

This commit is contained in:
Milan Broz 2007-07-23 10:41:19 +00:00
parent 6c35e3c84c
commit 622703467c

View File

@ -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, '/');