From ca0f6c0d51c2fe2909a3c40c4491c79f64eb21a1 Mon Sep 17 00:00:00 2001 From: Fabian Maurer Date: Mon, 21 Nov 2016 00:31:01 +0100 Subject: [PATCH] dmloader: Better error reporting in IDirectMusicLoaderImpl_SetObject. Signed-off-by: Fabian Maurer Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- dlls/dmloader/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dmloader/loader.c b/dlls/dmloader/loader.c index 967b093f135..08228911a63 100644 --- a/dlls/dmloader/loader.c +++ b/dlls/dmloader/loader.c @@ -422,7 +422,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_SetObject(IDirectMusicLoader8 *ifac /* attach stream */ hr = IDirectMusicLoaderFileStream_Attach (pStream, wszFileName, iface); if (FAILED(hr)) { - ERR(": could not attach stream to file\n"); + ERR(": could not attach stream to file %s, make sure it exists\n", debugstr_w(wszFileName)); IStream_Release (pStream); return DMUS_E_LOADER_FAILEDOPEN; }