Skip to content

Commit

Permalink
servers: account for absolute path in opendir() messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Sep 26, 2024
1 parent 935102e commit 3c304f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/servers/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void handleSyscallResponse(const SyscallHeader *hdr) {

DirectoryDescriptor *dir = (DirectoryDescriptor *) iod->data;
dir->process = p;
strcpy(dir->path, opendircmd->path);
strcpy(dir->path, opendircmd->abspath);
strcpy(dir->device, opendircmd->device);

// and return the directory descriptor to the thread
Expand Down

0 comments on commit 3c304f1

Please sign in to comment.