]> Cypherpunks repositories - gostls13.git/commit
runtime: tidy OpenBSD sysctl code
authorAustin Clements <austin@google.com>
Fri, 29 Jun 2018 20:09:01 +0000 (16:09 -0400)
committerAustin Clements <austin@google.com>
Mon, 2 Jul 2018 14:44:21 +0000 (14:44 +0000)
commit9daa35edf08bb76948368fecf388572a4a77c14f
tree5194b1e2a5734096b1957105e3c17cd17ded7cf7
parent869884daead156d0e5a4093d91968ed172d4d2d0
runtime: tidy OpenBSD sysctl code

The OpenBSD sysctl code has been copy-pasted three times now. Abstract
it.

Change-Id: Ia5558927f0bc2b218b5af425dab368b5485d266c
Reviewed-on: https://go-review.googlesource.com/121775
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/runtime/os_openbsd.go