diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-01-23 22:50:17 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-01-23 22:50:17 +0000 |
commit | d74e76f9f6b05428358a6248ac506dc38c323c7e (patch) | |
tree | fcaf79e75b038c550015f200838057561e17308e /sunrpc/rpc_main.c | |
parent | 8ba3c7d939fd02e4bef1f311d941fc04bf5e19e8 (diff) | |
download | glibc-d74e76f9f6b05428358a6248ac506dc38c323c7e.tar glibc-d74e76f9f6b05428358a6248ac506dc38c323c7e.tar.gz glibc-d74e76f9f6b05428358a6248ac506dc38c323c7e.tar.bz2 glibc-d74e76f9f6b05428358a6248ac506dc38c323c7e.zip |
Update.
* sunrpc/rpc_main.c (open_output): Allow better translation of
error message.
(close_output): Likewise.
* locale/programs/localedef.c: Unify messages.
* malloc/obstack.c: Likewise.
Suggested by Vladimir Michl <Vladimir.Michl@upol.cz>.
Diffstat (limited to 'sunrpc/rpc_main.c')
-rw-r--r-- | sunrpc/rpc_main.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c index 2229c564fe..aec153faaa 100644 --- a/sunrpc/rpc_main.c +++ b/sunrpc/rpc_main.c @@ -291,8 +291,7 @@ open_output (const char *infile, const char *outfile) fout = fopen (outfile, "w"); if (fout == NULL) { - fprintf (stderr, _ ("%s: unable to open "), cmdname); - perror (outfile); + fprintf (stderr, _ ("%s: unable to open %s: %m\n"), cmdname, outfile); crash (); } record_open (outfile); @@ -304,8 +303,8 @@ close_output (const char *outfile) { if (fclose (fout) == EOF) { - fprintf (stderr, _("%s: while writing output: "), cmdname); - perror (outfile ?: "<stdout>"); + fprintf (stderr, _("%s: while writing output %s: %m"), cmdname, + outfile ?: "<stdout>"); crash (); } } |