Skip to content

Commit

Permalink
windows/svc: fix printf(var) mistake detected by latest printf checker
Browse files Browse the repository at this point in the history
For golang/go#69267.

Change-Id: Ie240b5c826bb96c0e2021a7e99a3c0f973f0a0e1
Reviewed-on: https://go-review.googlesource.com/c/sys/+/610940
Reviewed-by: Tim King <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Auto-Submit: Dmitri Shuralyov <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
  • Loading branch information
dmitshur authored and gopherbot committed Sep 6, 2024
1 parent c08bc6e commit 68ed59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows/svc/svc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func TestIsWindowsServiceWhenParentExits(t *testing.T) {
child.Env = append(os.Environ(), "GO_WANT_HELPER_PROCESS=child")
err := child.Start()
if err != nil {
fmt.Fprintf(os.Stderr, fmt.Sprintf("child start failed: %v", err))
fmt.Fprintf(os.Stderr, "child start failed: %v", err)
os.Exit(1)
}
os.Exit(0)
Expand Down

0 comments on commit 68ed59b

Please sign in to comment.