--- embedtools/src/cfexec.c 2013/01/18 12:58:13 1.4 +++ embedtools/src/cfexec.c 2013/08/05 12:38:36 1.4.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: cfexec.c,v 1.4 2013/01/18 12:58:13 misho Exp $ + * $Id: cfexec.c,v 1.4.2.2 2013/08/05 12:38:36 misho Exp $ * ************************************************************************* The ELWIX and AITNET software is distributed under the following @@ -64,7 +64,7 @@ Usage() "\t-c \tAfter execute chroot to dir [default=/]\n" "\t-u \tAfter execute suid to user [default=root]\n" "\t-d \tOther device [default=/dev/ufs/elwix]\n" - "\t-m \tOther mount dir [default=/cf]\n" + "\t-m \tOther mount dir [default=/]\n" "\t-t \tTimeout for autolock mount dir after seconds [default=300]\n" "\n", compiled, compiledby, compilehost); } @@ -135,7 +135,7 @@ mkevent(struct kevent *chg, struct kevent *evt) memset(evt, 0, sizeof(struct kevent)); EV_SET(chg, f, EVFILT_VNODE, EV_ADD, NOTE_DELETE | NOTE_RENAME | NOTE_REVOKE, - 0, (intptr_t) NULL); + 0, NULL); } return f;