mirror of
https://gerrit.hackerspace.pl/hscloud
synced 2025-03-18 16:54:52 +00:00
//go/workspace: fix go workspace on MacOS
Change-Id: I5d287d53b31c36ef19f2ea4ebc7a0647c87f2e29 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1532 Reviewed-by: q3k <q3k@hackerspace.pl>
This commit is contained in:
parent
844b9b4353
commit
7094d69a70
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ func getPathFSID(dir string) (uint64, error) {
|
|||
}
|
||||
switch x := st.Sys().(type) {
|
||||
case *syscall.Stat_t:
|
||||
return x.Dev, nil
|
||||
return uint64(x.Dev), nil
|
||||
default:
|
||||
return 0, fmt.Errorf("unsupported operating system (got stat type %+v)", st.Sys())
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue