Skip to content

Commit a48db1f

Browse files
committed
tools/lmfuse/lmfuse.c (lmfs_readdir): Use realloc(3) instead of reallocf(3).
1 parent 5f4b8f7 commit a48db1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/lmfuse/lmfuse.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,9 +955,9 @@ static int lmfs_readdir(const char *path, void *buf, fuse_fill_dir_t filler,
955955
continue;
956956
}
957957
// Otherwise it's new.
958-
out_dirent = reallocf(out_dirent,sizeof(Directory_Entry)*(out_count+1));
958+
out_dirent = realloc(out_dirent,sizeof(Directory_Entry)*(out_count+1));
959959
if(out_dirent == NULL){
960-
perror("lmfuse: reallocf");
960+
perror("lmfuse: realloc");
961961
return -ENOENT;
962962
}
963963
// Copy dirent

0 commit comments

Comments
 (0)