// +build !linux,!darwin

package loadavg

import (
	"fmt"
	"runtime"
)

func LoadAvg() ([3]float64, error) {
	return [...]float64{-1, -1, -1}, fmt.Errorf("loadavg: unsupported platform %q", runtime.GOOS)
}

// +build !linux,!darwin

package loadavg

import (
	"fmt"
	"runtime"
)

func loadAvg() ([3]float64, error) {
	return [...]float64{-1, -1, -1}, fmt.Errorf("loadavg: unsupported platform %q", runtime.GOOS)
}

Fix bug with stub loadAvg function.
Fix bug with stub loadAvg function.
