vfs: use correct enum values in 'Dir_file_system::open_composite_dirs()'

Fixes #2968
This commit is contained in:
Christian Prochaska 2018-09-07 15:34:27 +02:00 committed by Christian Helmuth
parent 5adb6f0c5f
commit 9a2af89c4e

View File

@ -634,8 +634,8 @@ class Vfs::Dir_file_system : public File_system
switch (r) {
case OPENDIR_OK:
break;
case OPEN_ERR_OUT_OF_RAM:
case OPEN_ERR_OUT_OF_CAPS:
case OPENDIR_ERR_OUT_OF_RAM:
case OPENDIR_ERR_OUT_OF_CAPS:
return r;
default:
continue;