Updated log message in hardfile

This commit is contained in:
Dimitris Panokostas 2020-06-20 00:15:15 +02:00
parent 0dcb0d02bd
commit 4c7b142690

View file

@ -61,7 +61,7 @@ int hdf_open_target(struct hardfiledata *hfd, const TCHAR *pname)
hfd->virtual_rdb = nullptr; hfd->virtual_rdb = nullptr;
if (!hfd->cache) if (!hfd->cache)
{ {
write_log("malloc(%d) failed in hdf_open_target, error %d\n", CACHE_SIZE, errno); write_log("VirtualAlloc(%d) failed in hdf_open_target, error %d\n", CACHE_SIZE, errno);
goto end; goto end;
} }
hfd->handle = xcalloc(struct hardfilehandle, 1); hfd->handle = xcalloc(struct hardfilehandle, 1);