diff --git a/disk/disk_darwin_cgo.go b/disk/disk_darwin_cgo.go index 623c5fd..8a1848e 100644 --- a/disk/disk_darwin_cgo.go +++ b/disk/disk_darwin_cgo.go @@ -7,7 +7,7 @@ package disk #cgo LDFLAGS: -framework CoreFoundation -framework IOKit #include #include -#include "disk_darwin.h" +#include "iostat_darwin.h" */ import "C" diff --git a/disk/disk_darwin.c b/disk/iostat_darwin.c similarity index 99% rename from disk/disk_darwin.c rename to disk/iostat_darwin.c index 198d3d1..9619c6f 100644 --- a/disk/disk_darwin.c +++ b/disk/iostat_darwin.c @@ -1,7 +1,7 @@ // https://github.com/lufia/iostat/blob/9f7362b77ad333b26c01c99de52a11bdb650ded2/iostat_darwin.c #include #include -#include "disk_darwin.h" +#include "iostat_darwin.h" #define IOKIT 1 /* to get io_name_t in device_types.h */ diff --git a/disk/disk_darwin.h b/disk/iostat_darwin.h similarity index 100% rename from disk/disk_darwin.h rename to disk/iostat_darwin.h