diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-01-12 11:32:05 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-01-12 11:32:05 +0000 |
commit | 39821fb9b116e2a54f2458e58de8b40eda8ccdd3 (patch) | |
tree | 914fd5afe15dbbff79add22e3811f9d58fb8fd8c /examples/IPC_SAP | |
parent | fa2f2a87da34c8c412e03372b6e6701c031378ab (diff) | |
download | ATCD-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.cpp | 9 |
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); |