summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/svc_simple.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 01:05:56 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 01:05:56 +0000
commit6a6ae6e1a26f32fd896b0a7b740129161bfb008b (patch)
tree818a08e98cc3cd7711fd077ea68c3c1a9d740f37 /libc/inet/rpc/svc_simple.c
parenta1915d4502e23cc0c30e1c80a31971e71e7340a5 (diff)
Convert some users and get rid of __rpc_thread_createerr jump reloc, this was indeed a badly chosen name
Diffstat (limited to 'libc/inet/rpc/svc_simple.c')
-rw-r--r--libc/inet/rpc/svc_simple.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/inet/rpc/svc_simple.c b/libc/inet/rpc/svc_simple.c
index 6b8fe7103..825235450 100644
--- a/libc/inet/rpc/svc_simple.c
+++ b/libc/inet/rpc/svc_simple.c
@@ -44,6 +44,7 @@ static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
#define svcudp_create __svcudp_create
#define pmap_unset __pmap_unset
#define asprintf __asprintf
+#define fputs __fputs
#define __FORCE_GLIBC
#define _GNU_SOURCE
@@ -159,7 +160,7 @@ universal (struct svc_req *rqstp, SVCXPRT *transp_l)
if (svc_sendreply (transp_l, (xdrproc_t)xdr_void, (char *) NULL) == FALSE)
{
__write (STDERR_FILENO, "xxx\n", 4);
- exit (1);
+ __exit (1);
}
return;
}
@@ -184,7 +185,7 @@ universal (struct svc_req *rqstp, SVCXPRT *transp_l)
(void) asprintf (&buf,
_("trouble replying to prog %d\n"),
pl->p_prognum);
- exit (1);
+ __exit (1);
}
/* free the decoded arguments */
(void) svc_freeargs (transp_l, pl->p_inproc, xdrbuf);
@@ -198,5 +199,5 @@ universal (struct svc_req *rqstp, SVCXPRT *transp_l)
#endif
fputs (buf, stderr);
free (buf);
- exit (1);
+ __exit (1);
}