From 8803ae5d1324792a15f7f3c9e034a7e03a21a960 Mon Sep 17 00:00:00 2001 From: Song Lim Date: Thu, 29 Apr 2021 03:57:44 +0000 Subject: [PATCH] windows/svc/mgr: fix misspelled word in service.go fix misspelled word "service" in line 62 Change-Id: I646f073d5604c36775d27c478a7b4b007f70ff62 GitHub-Last-Rev: 79901a6ca34c154727b6d816e7432cef6ed45b16 GitHub-Pull-Request: golang/sys#107 Reviewed-on: https://go-review.googlesource.com/c/sys/+/314573 Trust: Alex Brainman Trust: Emmanuel Odeke Run-TryBot: Alex Brainman TryBot-Result: Go Bot Reviewed-by: Alex Brainman --- windows/svc/mgr/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/svc/mgr/service.go b/windows/svc/mgr/service.go index aee2d3d2..7d735ca2 100644 --- a/windows/svc/mgr/service.go +++ b/windows/svc/mgr/service.go @@ -46,7 +46,7 @@ func (s *Service) Start(args ...string) error { return windows.StartService(s.Handle, uint32(len(args)), p) } -// Control sends state change request c to the servce s. +// Control sends state change request c to the service s. func (s *Service) Control(c svc.Cmd) (svc.Status, error) { var t windows.SERVICE_STATUS err := windows.ControlService(s.Handle, uint32(c), &t)