Make utils_daemon and volumes cross-platform compileable.

Signed-off-by: Rik Nijessen <riknijessen@gmail.com>
This commit is contained in:
Rik Nijessen 2015-03-11 16:42:49 +01:00
parent 718f112173
commit a5e54d5788
7 changed files with 30 additions and 16 deletions

View file

@ -6,7 +6,7 @@ import (
"syscall"
)
func Lstat(path string) (*Stat, error) {
func Lstat(path string) (*Stat_t, error) {
s := &syscall.Stat_t{}
err := syscall.Lstat(path, s)
if err != nil {