diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-07-20 17:51:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-07-20 17:51:14 +0000 |
commit | 8a259a2310d269a86c603262e8f2c5f69f2a9c9d (patch) | |
tree | e2718944bb69323ba381e1d80160e490e7b8167c /sunrpc/svc_udp.c | |
parent | df6f89692fd7e802f38f944ed73942354a9911f8 (diff) | |
download | glibc-8a259a2310d269a86c603262e8f2c5f69f2a9c9d.tar.gz glibc-8a259a2310d269a86c603262e8f2c5f69f2a9c9d.tar.xz glibc-8a259a2310d269a86c603262e8f2c5f69f2a9c9d.zip |
* include/stdio.h (__fxprintf): Remove wfmt argument.
* stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h. (__fxprintf): Remove wfmt argument, create wfmt format string on the fly from fmt. * argp/argp-fmtstream.c: Adjust all __fxprintf callers. * argp/argp-help.c: Likewise. * assert/assert-perr.c: Likewise. * assert/assert.c: Likewise. * gmon/gmon.c: Likewise. * inet/rcmd.c: Likewise. * malloc/obstack.c: Likewise. * misc/error.c: Likewise. * misc/getpass.c: Likewise. * posix/getopt.c: Likewise. * resolv/res_hconf.c: Likewise. * stdio-common/perror.c: Likewise. * stdio-common/psignal.c: Likewise. * stdlib/fmtmsg.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr.c: Likewise. * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sysdeps/generic/wordexp.c: Likewise.
Diffstat (limited to 'sunrpc/svc_udp.c')
-rw-r--r-- | sunrpc/svc_udp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sunrpc/svc_udp.c b/sunrpc/svc_udp.c index 62fd97e2f7..c0c115abeb 100644 --- a/sunrpc/svc_udp.c +++ b/sunrpc/svc_udp.c @@ -149,8 +149,7 @@ svcudp_bufcreate (sock, sendsz, recvsz) buf = mem_alloc (((MAX (sendsz, recvsz) + 3) / 4) * 4); if (xprt == NULL || su == NULL || buf == NULL) { - (void) __fxprintf (NULL, "%s", L"%s", - _("svcudp_create: out of memory\n")); + (void) __fxprintf (NULL, "%s", _("svcudp_create: out of memory\n")); mem_free (xprt, sizeof (SVCXPRT)); mem_free (su, sizeof (*su)); mem_free (buf, ((MAX (sendsz, recvsz) + 3) / 4) * 4); @@ -172,7 +171,7 @@ svcudp_bufcreate (sock, sendsz, recvsz) + sizeof(struct cmsghdr) + sizeof (struct in_pktinfo)) > sizeof (xprt->xp_pad)) { - (void) __fxprintf (NULL,"%s", L"%s", _("\ + (void) __fxprintf (NULL,"%s", _("\ svcudp_create: xp_pad is too small for IP_PKTINFO\n")); return NULL; } @@ -402,7 +401,7 @@ svcudp_destroy (xprt) #define SPARSENESS 4 /* 75% sparse */ #define CACHE_PERROR(msg) \ - (void) __fxprintf(NULL, "%s\n", L"%s\n", msg) + (void) __fxprintf(NULL, "%s\n", msg) #define ALLOC(type, size) \ (type *) mem_alloc((unsigned) (sizeof(type) * (size))) |