From da50488b3ff915a0f7d394a43a3ec6611421cac7 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Sun, 1 Apr 2012 10:48:52 +0100 Subject: [PATCH] Typo. --- registry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry.cpp b/registry.cpp index 1be5f4d..6b70a96 100644 --- a/registry.cpp +++ b/registry.cpp @@ -133,7 +133,7 @@ int expand_parameter(HKEY key, char *value, char *data, unsigned long datalen, b ret = ExpandEnvironmentStrings((char *) buffer, data, datalen); if (! ret || ret > datalen) { - log_event(EVENTLOG_ERROR_TYPE, NSSM_EVENT_EXPANDENVIRONMENTSTRINGS_FAILED, value, buffer, error_string(GetLastError()), 0); + log_event(EVENTLOG_ERROR_TYPE, NSSM_EVENT_EXPANDENVIRONMENTSTRINGS_FAILED, buffer, error_string(GetLastError()), 0); HeapFree(GetProcessHeap(), 0, buffer); return 3; } -- 2.20.1