You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2022/10/04 13:26:37 UTC

[commons-daemon] branch master updated: Fix typos in log messages

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-daemon.git


The following commit(s) were added to refs/heads/master by this push:
     new 4e30682  Fix typos in log messages
4e30682 is described below

commit 4e306820ccb900fa6b608b512b62075935cbb4d1
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Oct 4 14:26:31 2022 +0100

    Fix typos in log messages
---
 src/native/windows/src/service.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/native/windows/src/service.c b/src/native/windows/src/service.c
index e5c371d..22f0b62 100644
--- a/src/native/windows/src/service.c
+++ b/src/native/windows/src/service.c
@@ -309,14 +309,14 @@ apxServiceSetOptions(APXHANDLE hService,
                                    dwStartType, dwErrorControl,
                                    NULL, NULL, NULL, NULL, NULL,
                                    NULL, NULL)) {
-        apxLogWrite(APXLOG_MARK_WARN "Can't set options for service: Failed to changes the configuration parameters.");
+        apxLogWrite(APXLOG_MARK_WARN "Can't set options for service: Failed to change the configuration parameters.");
     	return FALSE;
     }
 
     if (dwStartType == SERVICE_AUTO_START) {
     	sDelayedInfo.fDelayedAutostart = bDelayedStart;
         if (!ChangeServiceConfig2A(lpService->hService, SERVICE_CONFIG_DELAYED_AUTO_START_INFO, &sDelayedInfo)) {
-            apxLogWrite(APXLOG_MARK_WARN "Can't set options for service: Failed to changes the optional configuration parameters.");
+            apxLogWrite(APXLOG_MARK_WARN "Can't set options for service: Failed to change the optional configuration parameters.");
             return FALSE;
         }
     }