summaryrefslogtreecommitdiff
path: root/usr/src/cmd/rpcbind/rpcbind.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/rpcbind/rpcbind.c')
-rw-r--r--usr/src/cmd/rpcbind/rpcbind.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/cmd/rpcbind/rpcbind.c b/usr/src/cmd/rpcbind/rpcbind.c
index 4a31ac0283..89d2d5714d 100644
--- a/usr/src/cmd/rpcbind/rpcbind.c
+++ b/usr/src/cmd/rpcbind/rpcbind.c
@@ -44,6 +44,7 @@
#include <dlfcn.h>
#include <stdio.h>
+#include <stdio_ext.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
@@ -153,6 +154,8 @@ main(int argc, char *argv[])
rl.rlim_cur = MAX_FILEDESC_LIMIT;
setrlimit(RLIMIT_NOFILE, &rl);
}
+ (void) enable_extended_FILE_stdio(-1, -1);
+
openlog("rpcbind", LOG_CONS, LOG_DAEMON);
/*