diff --git a/src/os/user/listgroups_solaris.go b/src/os/user/listgroups_solaris.go index 28a8a78dbb..f3cbf6ce4a 100644 --- a/src/os/user/listgroups_solaris.go +++ b/src/os/user/listgroups_solaris.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build cgo +// +build cgo,!osusergo // Even though this file requires no C, it is used to provide a // listGroup stub because all the other Solaris calls work. Otherwise,