[Wine-patches] [eterhack] setupapi: Do not print error if dll already exists (eterbug #6691).

Alexander Morozov amorozov на etersoft.ru
Ср Янв 19 19:00:34 MSK 2011


----------- следующая часть -----------
From dc17692815676b519db70af0d0bd866ea92c7ac1 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Wed, 19 Jan 2011 18:56:33 +0300
Subject: [eterhack] setupapi: Do not print error if dll already exists (eterbug #6691).

---
 dlls/setupapi/fakedll.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/setupapi/fakedll.c b/dlls/setupapi/fakedll.c
index 3696114..6bbab05 100644
--- a/dlls/setupapi/fakedll.c
+++ b/dlls/setupapi/fakedll.c
@@ -465,7 +465,7 @@ static HANDLE create_dest_file( const WCHAR *name )
         h = CreateFileW( name, GENERIC_WRITE, 0, NULL, CREATE_NEW, 0, NULL );
         if (h == INVALID_HANDLE_VALUE)
         {
-            ERR( "failed to create %s (error=%u)\n", debugstr_w(name), GetLastError() );
+            WARN( "failed to create %s (error=%u)\n", debugstr_w(name), GetLastError() );
             return FALSE;
         }
     }
-- 
1.7.3.4



Подробная информация о списке рассылки Wine-patches