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:
parent
6c35e3c84c
commit
622703467c
@ -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, '/');
|
||||
|
Loading…
Reference in New Issue
Block a user