]> wimlib.net Git - wimlib/blobdiff - src/mount.c
dentry_to_stbuf() fix
[wimlib] / src / mount.c
index 9e285c6c739da4fc5191b42ac48a1347dcd8f209..984666e6b6c2c88e35f0fd55e325694a4b0d888a 100644 (file)
@@ -98,7 +98,7 @@ static int alloc_wimlib_fd(struct lookup_table_entry *lte,
                u16 num_new_fds;
 
                if (lte->num_allocated_fds == max_fds)
-                       return -ENFILE;
+                       return -EMFILE;
                num_new_fds = min(fds_per_alloc, max_fds - lte->num_allocated_fds);
                
                fds = CALLOC(lte->num_allocated_fds + num_new_fds,