diff options
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/proto.h | 3 | ||||
-rw-r--r-- | sunrpc/rpc_main.c | 6 | ||||
-rw-r--r-- | sunrpc/rpcinfo.c | 6 |
3 files changed, 6 insertions, 9 deletions
diff --git a/sunrpc/proto.h b/sunrpc/proto.h index 0ba9cd6..ea28565 100644 --- a/sunrpc/proto.h +++ b/sunrpc/proto.h @@ -62,7 +62,4 @@ void add_type(int len, const char *type); #define _(X) (X) #define textdomain(X) ((void) 0) -/* This is used in the definition of PACKAGE for --version output. */ -#define _libc_intl_domainname "libc" - #endif diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c index 2103b10..1477b43 100644 --- a/sunrpc/rpc_main.c +++ b/sunrpc/rpc_main.c @@ -1439,15 +1439,15 @@ options_usage (FILE *stream, int status) f_print (stream, _("-T\t\tgenerate code to support RPC dispatch tables\n")); f_print (stream, _("-Y path\t\tdirectory name to find C preprocessor (cpp)\n")); - f_print (stream, "\n%s", _("\ + f_print (stream, _("\n\ For bug reporting instructions, please see:\n\ -<http://www.gnu.org/software/libc/bugs.html>.\n")); +%s.\n"), REPORT_BUGS_TO); exit (status); } static void print_version (void) { - printf ("rpcgen (GNU %s) %s\n", PACKAGE, VERSION); + printf ("rpcgen %s%s\n", PKGVERSION, VERSION); exit (0); } diff --git a/sunrpc/rpcinfo.c b/sunrpc/rpcinfo.c index 16c0354..e490a7e 100644 --- a/sunrpc/rpcinfo.c +++ b/sunrpc/rpcinfo.c @@ -688,15 +688,15 @@ usage (FILE *stream) fputs (_(" rpcinfo -b prognum versnum\n"), stream); fputs (_(" rpcinfo -d prognum versnum\n"), stream); fputc ('\n', stream); - fputs (_("\ + fprintf (stream, _("\ For bug reporting instructions, please see:\n\ -<http://www.gnu.org/software/libc/bugs.html>.\n"), stream); +%s.\n"), REPORT_BUGS_TO); } static void print_version (void) { - printf ("rpcinfo (GNU %s) %s\n", PACKAGE, VERSION); + printf ("rpcinfo %s%s\n", PKGVERSION, VERSION); } static u_long |