From 454243aa54bcab77b9b695ee2b1256965a089065 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Tue, 29 Oct 2013 16:08:42 +0900 Subject: [PATCH] atl100: Print file name in the failure message and fix a typo. --- dlls/atl100/registrar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/atl100/registrar.c b/dlls/atl100/registrar.c index b255e123f1b..90c5b5b266a 100644 --- a/dlls/atl100/registrar.c +++ b/dlls/atl100/registrar.c @@ -511,13 +511,13 @@ static HRESULT file_register(Registrar *This, LPCOLESTR fileName, BOOL do_regist HeapFree(GetProcessHeap(), 0, regstrw); }else { - WARN("Failed to read faile\n"); + WARN("Failed to read file %s\n", debugstr_w(fileName)); hres = HRESULT_FROM_WIN32(GetLastError()); } HeapFree(GetProcessHeap(), 0, regstra); CloseHandle(file); }else { - WARN("Could not open file\n"); + WARN("Could not open file %s\n", debugstr_w(fileName)); hres = HRESULT_FROM_WIN32(GetLastError()); }