]> Pileus Git - ~andy/linux/blobdiff - net/core/scm.c
staging: brcm80211: use address space qualifier in brcmfmac
[~andy/linux] / net / core / scm.c
index 4c1ef026d6955b8cadaf77ceee6538dd4b4e1800..811b53fb330e8a40e640db483965acfc8c55cc4a 100644 (file)
@@ -192,7 +192,7 @@ int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p)
                                        goto error;
 
                                cred->uid = cred->euid = p->creds.uid;
-                               cred->gid = cred->egid = p->creds.uid;
+                               cred->gid = cred->egid = p->creds.gid;
                                put_cred(p->cred);
                                p->cred = cred;
                        }