aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--sunrpc/rpc_main.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 63ee3f6..df700b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
+ * sunrpc/rpc_main.c (main): Call textdomain.
+
* MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
--no-location.
(all-pot): Replace $(subdirs) files with $P/subdirs.pot.
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c
index 7313e6e..053b301 100644
--- a/sunrpc/rpc_main.c
+++ b/sunrpc/rpc_main.c
@@ -70,6 +70,9 @@ main(argc, argv)
{
struct commandline cmd;
+ /* Use the libc message catalog for translations. */
+ textdomain (_libc_intl_domainname);
+
if (!parseargs(argc, argv, &cmd)) {
f_print(stderr,
_("usage: %s infile\n"), cmdname);