|
From: <mil...@us...> - 2008-01-09 15:33:53
|
Revision: 2727
http://selinux.svn.sourceforge.net/selinux/?rev=2727&view=rev
Author: millertc
Date: 2008-01-09 07:33:51 -0800 (Wed, 09 Jan 2008)
Log Message:
-----------
Fix shadowed variable declaration.
Modified Paths:
--------------
trunk/policycoreutils/newrole/newrole.c
Modified: trunk/policycoreutils/newrole/newrole.c
===================================================================
--- trunk/policycoreutils/newrole/newrole.c 2008-01-09 14:25:39 UTC (rev 2726)
+++ trunk/policycoreutils/newrole/newrole.c 2008-01-09 15:33:51 UTC (rev 2727)
@@ -1233,13 +1233,13 @@
* since we are doing cleanup which needs to be done.
* We can exit with a bad rc though
*/
- int rc;
+ pid_t pid;
int exit_code = 0;
int status;
do {
- rc = wait(&status);
- } while (rc < 0 && errno == EINTR);
+ pid = wait(&status);
+ } while (pid < 0 && errno == EINTR);
/* Preserve child exit status, unless there is another error. */
if (WIFEXITED(status))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|