]> Zhao Yanbai Git Server - minix.git/commitdiff
is: stopgap for broken _USEVFS check
authorBen Gras <ben@minix3.org>
Wed, 17 Aug 2011 16:27:46 +0000 (16:27 +0000)
committerBen Gras <ben@minix3.org>
Wed, 17 Aug 2011 16:27:46 +0000 (16:27 +0000)
servers/is/Makefile
servers/is/dmp_fs.c

index 225689c9d3a9fdecaf538d586e12f853ec8dfd82..ec4976a0adabc2715b3f2ac704e0c62e4d8938c6 100644 (file)
@@ -19,6 +19,8 @@ CPPFLAGS.dmp_vm.c+=   -I${MINIXSRCDIR}
 
 .if ${BUILDAVFS} == "yes"
 CFLAGS+= -D_USEAVFS
+.else
+CFLAGS+= -D_USEVFS
 .endif
 
 .include <minix.service.mk>
index ae3691070c8204eacae996ef04814e09d19591a5..ad5522ab6b22691b2cc6913973c3936c897459a5 100644 (file)
@@ -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),