Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libpuffs/puffs.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libpuffs/puffs.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.72 retrieving revision 1.73 diff -u -p -r1.72 -r1.73 --- src/lib/libpuffs/puffs.c 2007/10/29 15:52:45 1.72 +++ src/lib/libpuffs/puffs.c 2007/11/05 17:48:17 1.73 @@ -1,4 +1,4 @@ -/* $NetBSD: puffs.c,v 1.72 2007/10/29 15:52:45 pooka Exp $ */ +/* $NetBSD: puffs.c,v 1.73 2007/11/05 17:48:17 pooka Exp $ */ /* * Copyright (c) 2005, 2006, 2007 Antti Kantee. All Rights Reserved. @@ -31,7 +31,7 @@ #include #if !defined(lint) -__RCSID("$NetBSD: puffs.c,v 1.72 2007/10/29 15:52:45 pooka Exp $"); +__RCSID("$NetBSD: puffs.c,v 1.73 2007/11/05 17:48:17 pooka Exp $"); #endif /* !lint */ #include @@ -492,7 +492,7 @@ puffs_exit(struct puffs_usermount *pu, i } int -puffs_mainloop(struct puffs_usermount *pu, int flags) +puffs_mainloop(struct puffs_usermount *pu) { struct puffs_getreq *pgr = NULL; struct puffs_putreq *ppr = NULL; @@ -519,9 +519,6 @@ puffs_mainloop(struct puffs_usermount *p goto out; pfctrl->evs = newevs; - if ((flags & PUFFSLOOP_NODAEMON) == 0) - if (daemon(1, 0) == -1) - goto out; pu->pu_state |= PU_INLOOP; pu->pu_kq = kqueue();