diff options
Diffstat (limited to 'lib/ext2fs/dir_iterate.c')
-rw-r--r-- | lib/ext2fs/dir_iterate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext2fs/dir_iterate.c b/lib/ext2fs/dir_iterate.c index 40c289b1..8d8de575 100644 --- a/lib/ext2fs/dir_iterate.c +++ b/lib/ext2fs/dir_iterate.c @@ -50,7 +50,7 @@ errcode_t ext2fs_dir_iterate(ext2_filsys fs, else { ctx.buf = malloc(fs->blocksize); if (!ctx.buf) - return ENOMEM; + return EXT2_NO_MEMORY; } ctx.func = func; ctx.func2 = 0; |