svn commit: r231164 - in stable: 8/usr.bin/newgrp 9/usr.bin/newgrp
Xin LI
delphij at FreeBSD.org
Tue Feb 7 22:13:34 UTC 2012
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
More information about the svn-src-stable-9
mailing list