Date: Tue, 7 Feb 2012 22:13:33 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r231164 - in stable: 8/usr.bin/newgrp 9/usr.bin/newgrp Message-ID: <201202072213.q17MDXh9009679@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Tue Feb 7 22:13:33 2012 New Revision: 231164 URL: http://svn.freebsd.org/changeset/base/231164 Log: MFC r226274,r226416: Fix the error message when setgid() failed. PR: bin/161509 Submitted by: Jeremy Huddleston <jeremyhu apple com> Modified: stable/9/usr.bin/newgrp/newgrp.c Directory Properties: stable/9/usr.bin/newgrp/ (props changed) Changes in other areas also in this revision: Modified: stable/8/usr.bin/newgrp/newgrp.c Directory Properties: stable/8/usr.bin/newgrp/ (props changed) Modified: stable/9/usr.bin/newgrp/newgrp.c ============================================================================== --- stable/9/usr.bin/newgrp/newgrp.c Tue Feb 7 22:13:24 2012 (r231163) +++ stable/9/usr.bin/newgrp/newgrp.c Tue Feb 7 22:13:33 2012 (r231164) @@ -140,7 +140,7 @@ restoregrps(void) if (initres < 0) warn("initgroups"); if (setres < 0) - warn("setgroups"); + warn("setgid"); } static void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202072213.q17MDXh9009679>