Fix build break

This commit is contained in:
Arun Prakash Jana 2020-02-08 19:58:30 +05:30
parent 13e28fdecc
commit 58357912bc
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions

View File

@ -4236,7 +4236,7 @@ static blkcnt_t dirwalk(char *path, struct stat *psb)
}
/* Skip self and parent */
static bool selforparent(char *path)
static bool selforparent(const char *path)
{
return path[0] == '.' && (path[1] == '\0' || (path[1] == '.' && path[2] == '\0'));
}