* bsd_helper.cc (adjust_identity_info): Fix typo in log message.

This commit is contained in:
Corinna Vinschen 2012-10-25 08:08:39 +00:00
parent 6555743a4b
commit 0f93784fcc
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-10-25 Corinna Vinschen <corinna@vinschen.de>
* bsd_helper.cc (adjust_identity_info): Fix typo in log message.
2012-07-19 Corinna Vinschen <corinna@vinschen.de> 2012-07-19 Corinna Vinschen <corinna@vinschen.de>
* woutsup.h: Just include winlean.h. * woutsup.h: Just include winlean.h.

View File

@ -1,6 +1,6 @@
/* bsd_helper.cc /* bsd_helper.cc
Copyright 2003, 2004, 2005, 2007 Red Hat Inc. Copyright 2003, 2004, 2005, 2007, 2012 Red Hat Inc.
This file is part of Cygwin. This file is part of Cygwin.
@ -400,7 +400,7 @@ adjust_identity_info (struct proc *p)
p->gid = cygwin_internal (CW_GET_GID_FROM_SID, pgrp->PrimaryGroup); p->gid = cygwin_internal (CW_GET_GID_FROM_SID, pgrp->PrimaryGroup);
free (pgrp); free (pgrp);
if (p->gid == (gid_t)-1) if (p->gid == (gid_t)-1)
log (LOG_WARNING,"WARNING: Group not found in /etc/passwd! Using gid -1!"); log (LOG_WARNING,"WARNING: Group not found in /etc/group! Using gid -1!");
/* Generate gid list from token group's SID list. Also look if the token /* Generate gid list from token group's SID list. Also look if the token
has an enabled admin group SID. That means, the process has admin has an enabled admin group SID. That means, the process has admin