1
1

Fixed segfault while trying create dir in r/o VFS'es

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Этот коммит содержится в:
Slava Zanko 2011-06-02 13:43:05 +03:00
родитель cec54195e7
Коммит e8d58f188d

@ -241,7 +241,7 @@ int mc_##name inarg \
return -1; \ return -1; \
} \ } \
\ \
result = path_element->class != NULL ? path_element->class->name callarg : -1; \ result = path_element->class->name != NULL ? path_element->class->name callarg : -1; \
if (result == -1) \ if (result == -1) \
errno = path_element->class->name != NULL ? vfs_ferrno (path_element->class) : E_NOTSUPP; \ errno = path_element->class->name != NULL ? vfs_ferrno (path_element->class) : E_NOTSUPP; \
vfs_path_free(vpath); \ vfs_path_free(vpath); \