summaryrefslogtreecommitdiff
path: root/sysutils/beats/files/patch-gopsutil
blob: 9541876d7f21ffc52108738290e43b86a31ba5e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ../src/github.com/elastic/beats/vendor/github.com/shirou/gopsutil/disk/disk_freebsd_386.go.orig	2016-12-13 11:17:18.930219000 +0100
+++ ../src/github.com/elastic/beats/vendor/github.com/shirou/gopsutil/disk/disk_freebsd_386.go	2016-12-13 11:17:23.015481000 +0100
@@ -39,6 +39,10 @@
 	MNT_SUSPEND = 4
 )
 
+const (
+	sizeOfDevstat = 0xf0
+)
+
 type (
 	_C_short       int16
 	_C_int         int32
@@ -95,7 +99,7 @@
 	Flags         uint32
 	Device_type   uint32
 	Priority      uint32
-	ID            *byte
+	Id            *byte
 	Sequence1     uint32
 }
 type Bintime struct {