diff options
Diffstat (limited to 'ext/socket/option.c')
-rw-r--r-- | ext/socket/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c index 980acda85d..36750ad6c0 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -246,7 +246,7 @@ inspect_peercred(int level, int optname, VALUE data, VALUE ret) if (RSTRING_LEN(data) == sizeof(struct ucred)) { struct ucred cred; memcpy(&cred, RSTRING_PTR(data), sizeof(struct ucred)); - rb_str_catf(ret, " pid=%u uid=%u gid=%u", cred.pid, cred.uid, cred.gid); + rb_str_catf(ret, " pid=%u euid=%u egid=%u", cred.pid, cred.uid, cred.gid); rb_str_cat2(ret, " (ucred)"); return 0; } |