From 68abd8a09e129c3b5f41609d132e8bea9d6ff46c Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 11 Aug 2007 17:03:18 +0000 Subject: [PATCH] buf1, not buf (patch #1768584) git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5234 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/exehead/exec.c b/Source/exehead/exec.c index 5c9ed340..e9b636f3 100644 --- a/Source/exehead/exec.c +++ b/Source/exehead/exec.c @@ -335,12 +335,12 @@ static int NSISCALL ExecuteEntry(entry *entry_) { if (GetLastError() != ERROR_ALREADY_EXISTS) { - log_printf3("CreateDirectory: can't create \"%s\" (err=%d)",buf,GetLastError()); + log_printf3("CreateDirectory: can't create \"%s\" (err=%d)",buf1,GetLastError()); exec_error++; } else if ((GetFileAttributes(buf1) & FILE_ATTRIBUTE_DIRECTORY) == 0) { - log_printf2("CreateDirectory: can't create \"%s\" - a file already exists",buf); + log_printf2("CreateDirectory: can't create \"%s\" - a file already exists",buf1); exec_error++; } }