mirror of
https://github.com/minio/minio.git
synced 2025-11-22 02:35:30 -05:00
Make minio server compile on OpenBSD, NetBSD, Solaris (#3719)
This commit is contained in:
committed by
Harshavardhana
parent
0c7694894b
commit
e5773e11c6
@@ -27,3 +27,11 @@ type Info struct {
|
||||
Ffree int64
|
||||
FSType string
|
||||
}
|
||||
|
||||
func b2s(bs []int8) string {
|
||||
b := make([]byte, len(bs))
|
||||
for i, v := range bs {
|
||||
b[i] = byte(v)
|
||||
}
|
||||
return string(b)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user