diff options
Diffstat (limited to 'db3x_autobackups/dbcache.c')
-rw-r--r-- | db3x_autobackups/dbcache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db3x_autobackups/dbcache.c b/db3x_autobackups/dbcache.c index 601670d..666dd0a 100644 --- a/db3x_autobackups/dbcache.c +++ b/db3x_autobackups/dbcache.c @@ -40,10 +40,10 @@ void Map() if (hMap)
pDbCache = MapViewOfFile(hMap, FILE_MAP_ALL_ACCESS/*FILE_MAP_WRITE*/, 0, 0 ,0);
else
- DatabaseCorruption("%s (CreateFileMapping failed. Code: %d)");
+ DatabaseCorruption( _T("%s (CreateFileMapping failed. Code: %d)"));
if (!pDbCache)
- DatabaseCorruption("%s (MapViewOfFile failed. Code: %d)");
+ DatabaseCorruption( _T("%s (MapViewOfFile failed. Code: %d)"));
}
void UnMap()
@@ -64,7 +64,7 @@ void ReMap(DWORD needed) if (needed > ChunkSize)
{
if ((needed + dwFileSize) - dbHeader.ofsFileEnd > ChunkSize)
- DatabaseCorruption("%s (Too large increment)");
+ DatabaseCorruption( _T("%s (Too large increment)"));
else
{
DWORD x = dbHeader.ofsFileEnd/ChunkSize;
|