[PATCH 3/4] reg/tests: Use correct file and line arguments with delete_file()

Hugh McMaster hugh.mcmaster at outlook.com
Thu Jul 15 08:36:11 CDT 2021


Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
 programs/reg/tests/export.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/reg/tests/export.c b/programs/reg/tests/export.c
index 31a75566fae..0a460e08bcb 100644
--- a/programs/reg/tests/export.c
+++ b/programs/reg/tests/export.c
@@ -50,7 +50,7 @@ BOOL compare_export_(const char *file, unsigned line, const char *filename,
     todo_wine_if (todo & TODO_REG_COMPARE)
         lok(!lstrcmpW(fbuf, wstr), "export data does not match expected data\n");
 
-    ret = delete_file(filename);
+    ret = delete_file_(file, line, filename);
 
 exit:
     HeapFree(GetProcessHeap(), 0, fbuf);
-- 
2.32.0




More information about the wine-devel mailing list