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 <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Alex Brainman <[email protected]> Run-TryBot: Alex Brainman <[email protected]> Reviewed-by: Matthew Dempsky <[email protected]>
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

Lines changed: 2 additions & 2 deletions
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)