fixed error in last commit: second character must terminate
This commit is contained in:
parent
a258be684f
commit
5e038640e2
1 changed files with 1 additions and 1 deletions
|
@ -1123,7 +1123,7 @@ int
|
||||||
cfs_opendir(struct cfs_dir *dir, const char *name)
|
cfs_opendir(struct cfs_dir *dir, const char *name)
|
||||||
{
|
{
|
||||||
/* We have only a root directory. */
|
/* We have only a root directory. */
|
||||||
if((name[0] == '/' || name[0] == '.') && name[1] != '\0') {
|
if((name[0] == '/' || name[0] == '.') && name[1] == '\0') {
|
||||||
*(coffee_page_t *)dir->dummy_space = 0;
|
*(coffee_page_t *)dir->dummy_space = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue