mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-07-27 00:31:29 +00:00
fixed error in last commit: second character must terminate
This commit is contained in:
parent
a258be684f
commit
5e038640e2
@ -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 New Issue
Block a user