summaryrefslogtreecommitdiff
path: root/examples/IPC_SAP
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-01-12 11:32:05 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-01-12 11:32:05 +0000
commit39821fb9b116e2a54f2458e58de8b40eda8ccdd3 (patch)
tree914fd5afe15dbbff79add22e3811f9d58fb8fd8c /examples/IPC_SAP
parentfa2f2a87da34c8c412e03372b6e6701c031378ab (diff)
downloadATCD-39821fb9b116e2a54f2458e58de8b40eda8ccdd3.tar.gz
ChangeLogTag:Wed Jan 10 23:30:21 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'examples/IPC_SAP')
-rw-r--r--examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp b/examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp
index b17e8a1c51e..b252488a278 100644
--- a/examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp
+++ b/examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp
@@ -72,9 +72,12 @@ main (int argc, char *argv[])
ACE_LOG_MSG->open (argv[0]);
if (argc != 2)
- ACE_ERROR ((LM_ERROR,
- "usage: %n input-file\n%a",
- 1));
+ {
+ ACE_ERROR ((LM_ERROR,
+ "usage: %n input-file\n",
+ 1));
+ ACE_OS::exit (1);
+ }
ACE_FIFO_Recv fifo_reader (FIFO_NAME, O_RDONLY | O_CREAT, PERMS, 0);