diff --git a/translator/cmdutil/set_uid_gid_1_15_x64.go b/translator/cmdutil/set_uid_gid_1_15_x64.go index 0b3a9b814b..ba5e5858e5 100644 --- a/translator/cmdutil/set_uid_gid_1_15_x64.go +++ b/translator/cmdutil/set_uid_gid_1_15_x64.go @@ -22,7 +22,7 @@ func setUid(uid int) (err error) { } func setGid(gid int) (err error) { - _, _, e1 := unix.RawSyscall(unix.SYS_SETUID, uintptr(gid), 0, 0) + _, _, e1 := unix.RawSyscall(unix.SYS_SETGID, uintptr(gid), 0, 0) if e1 != 0 { err = e1 }