Skip to content

Commit

Permalink
servers: fix readdir() message structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Sep 26, 2024
1 parent 2d1024e commit 1f286fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/include/kernel/servers.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,9 @@ typedef struct {
char path[MAX_FILE_PATH];
char device[MAX_FILE_PATH];
size_t position;
int end; // set to 1 if trying to read beyond max position
struct dirent entry;
int end; // set to 1 if entry does not exist
char data[MAX_FILE_PATH];
} ReaddirCommand;

void serverInit();
Expand Down

0 comments on commit 1f286fb

Please sign in to comment.