is: stopgap for broken _USEVFS check

This commit is contained in:
Ben Gras 2011-08-17 16:27:46 +00:00
parent f984dbba70
commit cc64313b80
2 changed files with 3 additions and 1 deletions

View 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>

View 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),