summaryrefslogtreecommitdiff
path: root/ext/socket/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/option.c')
-rw-r--r--ext/socket/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c
index c79c1f529f..7bffdf8d6b 100644
--- a/ext/socket/option.c
+++ b/ext/socket/option.c
@@ -264,7 +264,7 @@ inspect_local_peercred(int level, int optname, VALUE data, VALUE ret)
struct xucred cred;
memcpy(&cred, RSTRING_PTR(data), sizeof(struct xucred));
rb_str_catf(ret, " version=%u", cred.cr_version);
- rb_str_catf(ret, " uid=%u", cred.cr_uid);
+ rb_str_catf(ret, " euid=%u", cred.cr_uid);
if (cred.cr_ngroups) {
int i;
char *sep = " groups=";