[freeldr] Move definition of maximum number of available file descriptors to fs.h
authorHervé Poussineau <hpoussin@reactos.org>
Tue, 22 Sep 2009 19:33:34 +0000 (19:33 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Tue, 22 Sep 2009 19:33:34 +0000 (19:33 +0000)
Fix typos

svn path=/trunk/; revision=43114

reactos/boot/freeldr/freeldr/fs/fs.c
reactos/boot/freeldr/freeldr/include/fs.h

index 24fcae1..7026a06 100644 (file)
@@ -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)
index 47362b8..88da935 100644 (file)
@@ -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