mirror of
https://github.com/rancher/os.git
synced 2025-09-28 14:05:03 +00:00
Bump up github.com/sirupsen/logrus to 1.8.1 (#90)
This commit is contained in:
4
vendor/golang.org/x/sys/unix/sockcmsg_linux.go
generated
vendored
4
vendor/golang.org/x/sys/unix/sockcmsg_linux.go
generated
vendored
@@ -1,4 +1,4 @@
|
||||
// Copyright 2011 The Go Authors. All rights reserved.
|
||||
// Copyright 2011 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
@@ -17,7 +17,7 @@ func UnixCredentials(ucred *Ucred) []byte {
|
||||
h.Level = SOL_SOCKET
|
||||
h.Type = SCM_CREDENTIALS
|
||||
h.SetLen(CmsgLen(SizeofUcred))
|
||||
*((*Ucred)(cmsgData(h))) = *ucred
|
||||
*(*Ucred)(h.data(0)) = *ucred
|
||||
return b
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user