Skip to content

Commit 94933fc

Browse files
masshashgopherbot
authored andcommitted
windows: fix constant values for JobObjectInformationClass
The constant values were incorrect and has been fixed in this CL. Reference: https://learn.microsoft.com/en-us/windows/win32/api/jobapi2/nf-jobapi2-setinformationjobobject#parameters Change-Id: Id97e561b6838a18216617d86aa11c79b6b2f4095 GitHub-Last-Rev: cd1e32d GitHub-Pull-Request: #150 Reviewed-on: https://go-review.googlesource.com/c/sys/+/479375 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Run-TryBot: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
1 parent 00d8004 commit 94933fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

windows/types_windows.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2229,10 +2229,10 @@ const (
22292229
JobObjectExtendedLimitInformation = 9
22302230
JobObjectGroupInformation = 11
22312231
JobObjectGroupInformationEx = 14
2232-
JobObjectLimitViolationInformation2 = 35
2232+
JobObjectLimitViolationInformation2 = 34
22332233
JobObjectNetRateControlInformation = 32
22342234
JobObjectNotificationLimitInformation = 12
2235-
JobObjectNotificationLimitInformation2 = 34
2235+
JobObjectNotificationLimitInformation2 = 33
22362236
JobObjectSecurityLimitInformation = 5
22372237
)
22382238

0 commit comments

Comments
 (0)