From: Ben Gras Date: Wed, 17 Aug 2011 16:27:46 +0000 (+0000) Subject: is: stopgap for broken _USEVFS check X-Git-Tag: v3.2.0~350 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/named.html?a=commitdiff_plain;h=cc64313b802cb97e8351cf814a3360e1e8a7b5b3;p=minix.git is: stopgap for broken _USEVFS check --- diff --git a/servers/is/Makefile b/servers/is/Makefile index 225689c9d..ec4976a0a 100644 --- a/servers/is/Makefile +++ b/servers/is/Makefile @@ -19,6 +19,8 @@ CPPFLAGS.dmp_vm.c+= -I${MINIXSRCDIR} .if ${BUILDAVFS} == "yes" CFLAGS+= -D_USEAVFS +.else +CFLAGS+= -D_USEVFS .endif .include diff --git a/servers/is/dmp_fs.c b/servers/is/dmp_fs.c index ae3691070..ad5522ab6 100644 --- a/servers/is/dmp_fs.c +++ b/servers/is/dmp_fs.c @@ -41,7 +41,7 @@ PUBLIC void fproc_dmp() fp = &fproc[i]; if (fp->fp_pid <= 0) continue; if (++n > 22) break; -#if defined(_USEVFS) +#if !defined(_USEAVFS) printf("%3d %4d %2d/%d 0x%05x %2d (%2d) %2d (%2d) %3d %3d %3d ", i, fp->fp_pid, ((fp->fp_tty>>MAJOR)&BYTE), ((fp->fp_tty>>MINOR)&BYTE),