Pushing for gadget.
This commit is contained in:
parent
03046dcf11
commit
a73c19154d
1 changed files with 2 additions and 1 deletions
|
@ -103,6 +103,7 @@ fileDirEntT *fileReadDir(fileDirT *dir) {
|
|||
if (!dir) return NULL;
|
||||
|
||||
textPrint("Calling Directory.Read.\n");
|
||||
textPrint("stream = "); textPrintInt(*dir->stream); textPrint("\n");
|
||||
|
||||
kernelArgs->directory.read.stream = *dir->stream;
|
||||
kernelCall(Directory.Read);
|
||||
|
@ -157,7 +158,7 @@ fileDirEntT *fileReadDir(fileDirT *dir) {
|
|||
kernelArgs->common.buflen = len;
|
||||
kernelCall(ReadData);
|
||||
}
|
||||
dirent.d_name[len] = '\0';
|
||||
dirent.d_name[len] = 0;
|
||||
|
||||
return &dirent;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue