Skip to content

Commit

Permalink
dirent: fixed opendir() to use absolute paths
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Sep 26, 2024
1 parent 3c304f1 commit 2d1024e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dirent.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int opendir(Thread *t, uint64_t id, const char *path) {
cmd->header.id = id;
cmd->uid = p->user;
cmd->gid = p->group;
strcpy(cmd->path, path);
strcpy(cmd->abspath, path);

int status = requestServer(t, cmd);
free(cmd);
Expand Down

0 comments on commit 2d1024e

Please sign in to comment.