Silly-rename child to worker (no pun intended .. maybe).

nfsd is threading these days.
This commit is contained in:
pooka 2008-11-21 07:48:35 +00:00
parent c02ede9188
commit 2d18baefd2
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfsd.c,v 1.55 2008/11/21 07:42:30 pooka Exp $ */
/* $NetBSD: nfsd.c,v 1.56 2008/11/21 07:48:35 pooka Exp $ */
/*
* Copyright (c) 1989, 1993, 1994
@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993, 1994\
#if 0
static char sccsid[] = "@(#)nfsd.c 8.9 (Berkeley) 3/29/95";
#else
__RCSID("$NetBSD: nfsd.c,v 1.55 2008/11/21 07:42:30 pooka Exp $");
__RCSID("$NetBSD: nfsd.c,v 1.56 2008/11/21 07:48:35 pooka Exp $");
#endif
#endif /* not lint */
@ -96,7 +96,7 @@ void nonfs __P((int));
void usage __P((void));
static void *
child(void *dummy)
worker(void *dummy)
{
struct nfsd_srvargs nsd;
int nfssvc_flag;
@ -334,7 +334,7 @@ main(argc, argv)
pthread_t t;
int error;
error = pthread_create(&t, NULL, child, NULL);
error = pthread_create(&t, NULL, worker, NULL);
if (error) {
errno = error;
syslog(LOG_ERR, "pthread_create: %m");