diff options
author | Roland McGrath <roland@gnu.org> | 1999-05-02 01:11:51 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-05-02 01:11:51 +0000 |
commit | 445730e2ba05e98bbe38a8d58806bb2539175064 (patch) | |
tree | 4bf3a13fc13bad12dbb07bda1152a77666a480f0 /trans/fwd.c | |
parent | 13d6b6fe1ba509e64dc37aacf52e8596412b8a1a (diff) |
1999-05-01 Roland McGrath <roland@baalperazim.frob.com>
* fwd.c (main): Add missing newline in usage msg.
From Marcus Brinkmann.
Diffstat (limited to 'trans/fwd.c')
-rw-r--r-- | trans/fwd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/trans/fwd.c b/trans/fwd.c index c36028e0..f30aad1a 100644 --- a/trans/fwd.c +++ b/trans/fwd.c @@ -4,7 +4,7 @@ and forward the request to the server if they find one, otherwise doing the translation themselves. - Copyright (C) 1995, 1998 Free Software Foundation, Inc. + Copyright (C) 1995, 1998, 1999 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> @@ -34,14 +34,14 @@ main (int argc, char **argv) if (argc < 2 || *argv[1] == '-') { - fprintf(stderr, "Usage: %s SERVER [TRANS_NAME [TRANS_ARG...]]", - program_invocation_name); - exit(1); + fprintf (stderr, "Usage: %s SERVER [TRANS_NAME [TRANS_ARG...]]\n", + program_invocation_name); + return 1; } task_get_bootstrap_port (mach_task_self (), &bootstrap); if (bootstrap == MACH_PORT_NULL) - error(2, 0, "must be started as a translator"); + error (2, 0, "must be started as a translator"); err = fshelp_delegate_translation (argv[1], bootstrap, argv + 2); if (err) |