mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 19:26:16 +00:00
[freeldr] Move definition of maximum number of available file descriptors to fs.h
Fix typos svn path=/trunk/; revision=43114
This commit is contained in:
@@ -163,7 +163,7 @@ ULONG FsGetNumPathParts(PCSTR Path)
|
||||
}
|
||||
num++;
|
||||
|
||||
DPRINTM(DPRINT_FILESYSTEM, "FatGetNumPathParts() Path = %s NumPathParts = %d\n", Path, num);
|
||||
DPRINTM(DPRINT_FILESYSTEM, "FsGetNumPathParts() Path = %s NumPathParts = %d\n", Path, num);
|
||||
|
||||
return num;
|
||||
}
|
||||
@@ -195,10 +195,9 @@ VOID FsGetFirstNameFromPath(PCHAR Buffer, PCSTR Path)
|
||||
|
||||
Buffer[i] = 0;
|
||||
|
||||
DPRINTM(DPRINT_FILESYSTEM, "FatGetFirstNameFromPath() Path = %s FirstName = %s\n", Path, Buffer);
|
||||
DPRINTM(DPRINT_FILESYSTEM, "FsGetFirstNameFromPath() Path = %s FirstName = %s\n", Path, Buffer);
|
||||
}
|
||||
|
||||
#define MAX_FDS 60
|
||||
typedef struct tagFILEDATA
|
||||
{
|
||||
ULONG DeviceId;
|
||||
@@ -398,6 +397,8 @@ VOID FsRegisterDevice(CHAR* Prefix, const DEVVTBL* FuncTable)
|
||||
DEVICE* pNewEntry;
|
||||
ULONG dwLength;
|
||||
|
||||
DPRINTM(DPRINT_FILESYSTEM, "FsRegisterDevice() Prefix = %s\n", Prefix);
|
||||
|
||||
dwLength = strlen(Prefix) + 1;
|
||||
pNewEntry = MmHeapAlloc(sizeof(DEVICE) + dwLength);
|
||||
if (!pNewEntry)
|
||||
|
||||
@@ -57,4 +57,6 @@ VOID FsSetFilePointer(PFILE FileHandle, ULONG NewFilePointer);
|
||||
ULONG FsGetNumPathParts(PCSTR Path);
|
||||
VOID FsGetFirstNameFromPath(PCHAR Buffer, PCSTR Path);
|
||||
|
||||
#define MAX_FDS 60
|
||||
|
||||
#endif // #defined __FS_H
|
||||
|
||||
Reference in New Issue
Block a user