summaryrefslogtreecommitdiff
path: root/ACE/examples
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2013-08-07 09:37:03 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2013-08-07 09:37:03 +0000
commit81cd4fc81526343b3f870643fa951cab4fef7716 (patch)
tree6b5b48ddcb1bc75f78df39ab2e257f9c2aace4ca /ACE/examples
parent192dc09e2bd1994358cee07d19cb61c8d894fe20 (diff)
downloadATCD-81cd4fc81526343b3f870643fa951cab4fef7716.tar.gz
Wed Aug 7 09:37:08 UTC 2013 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/OS/Process/imore.cpp: Renamed local variable to not trigger false scoreboard error
Diffstat (limited to 'ACE/examples')
-rw-r--r--ACE/examples/OS/Process/imore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/examples/OS/Process/imore.cpp b/ACE/examples/OS/Process/imore.cpp
index 98bac0ba53a..ade82e3b71b 100644
--- a/ACE/examples/OS/Process/imore.cpp
+++ b/ACE/examples/OS/Process/imore.cpp
@@ -234,9 +234,9 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
options.command_line (executable);
if (new_process.spawn (options) == -1)
{
- int error = ACE_OS::last_error ();
+ int const error_number = ACE_OS::last_error ();
ACE_ERROR_RETURN ((LM_ERROR, "%p errno = %d.\n",
- "test_more", error), -1);
+ "test_more", error_number), -1);
}
// write file to ACE_STDOUT.