make compilable with MSDOSFS_DEBUG (again), supply missing \n in

msdosfs_inactive() printf
This commit is contained in:
jdolecek 2002-01-08 20:11:00 +00:00
parent 9c0b4c4a97
commit 163a8c2246
3 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: msdosfs_denode.c,v 1.53 2001/11/10 13:26:45 lukem Exp $ */ /* $NetBSD: msdosfs_denode.c,v 1.54 2002/01/08 20:11:00 jdolecek Exp $ */
/*- /*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank. * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@ -48,7 +48,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: msdosfs_denode.c,v 1.53 2001/11/10 13:26:45 lukem Exp $"); __KERNEL_RCSID(0, "$NetBSD: msdosfs_denode.c,v 1.54 2002/01/08 20:11:00 jdolecek Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -654,7 +654,7 @@ msdosfs_inactive(v)
* as empty. (This may not be necessary for the dos filesystem.) * as empty. (This may not be necessary for the dos filesystem.)
*/ */
#ifdef MSDOSFS_DEBUG #ifdef MSDOSFS_DEBUG
printf("msdosfs_inactive(): dep %p, refcnt %ld, mntflag %x %s", printf("msdosfs_inactive(): dep %p, refcnt %ld, mntflag %x %s\n",
dep, dep->de_refcnt, vp->v_mount->mnt_flag, dep, dep->de_refcnt, vp->v_mount->mnt_flag,
(vp->v_mount->mnt_flag & MNT_RDONLY) ? "MNT_RDONLY" : ""); (vp->v_mount->mnt_flag & MNT_RDONLY) ? "MNT_RDONLY" : "");
#endif #endif
@ -672,7 +672,7 @@ out:
* so that it can be reused immediately. * so that it can be reused immediately.
*/ */
#ifdef MSDOSFS_DEBUG #ifdef MSDOSFS_DEBUG
printf("msdosfs_inactive(): v_usecount %ld, de_Name[0] %x\n", printf("msdosfs_inactive(): v_usecount %d, de_Name[0] %x\n",
vp->v_usecount, dep->de_Name[0]); vp->v_usecount, dep->de_Name[0]);
#endif #endif
if (dep->de_Name[0] == SLOT_DELETED) if (dep->de_Name[0] == SLOT_DELETED)

View File

@ -1,4 +1,4 @@
/* $NetBSD: msdosfs_vfsops.c,v 1.78 2001/12/22 19:45:54 augustss Exp $ */ /* $NetBSD: msdosfs_vfsops.c,v 1.79 2002/01/08 20:11:00 jdolecek Exp $ */
/*- /*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank. * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@ -48,7 +48,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.78 2001/12/22 19:45:54 augustss Exp $"); __KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.79 2002/01/08 20:11:00 jdolecek Exp $");
#if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT)
#include "opt_quota.h" #include "opt_quota.h"
@ -776,14 +776,14 @@ msdosfs_unmount(mp, mntflags, p)
struct vnode *vp = pmp->pm_devvp; struct vnode *vp = pmp->pm_devvp;
printf("msdosfs_umount(): just before calling VOP_CLOSE()\n"); printf("msdosfs_umount(): just before calling VOP_CLOSE()\n");
printf("flag %08lx, usecount %ld, writecount %ld, holdcnt %ld\n", printf("flag %08x, usecount %d, writecount %ld, holdcnt %ld\n",
vp->v_flag, vp->v_usecount, vp->v_writecount, vp->v_holdcnt); vp->v_flag, vp->v_usecount, vp->v_writecount, vp->v_holdcnt);
printf("lastr %d, id %lu, mount %p, op %p\n", printf("id %lu, mount %p, op %p\n",
vp->v_lastr, vp->v_id, vp->v_mount, vp->v_op); vp->v_id, vp->v_mount, vp->v_op);
printf("freef %p, freeb %p, mount %p\n", printf("freef %p, freeb %p, mount %p\n",
vp->v_freelist.tqe_next, vp->v_freelist.tqe_prev, vp->v_freelist.tqe_next, vp->v_freelist.tqe_prev,
vp->v_mount); vp->v_mount);
printf("cleanblkhd %p, dirtyblkhd %p, numoutput %ld, type %d\n", printf("cleanblkhd %p, dirtyblkhd %p, numoutput %d, type %d\n",
vp->v_cleanblkhd.lh_first, vp->v_cleanblkhd.lh_first,
vp->v_dirtyblkhd.lh_first, vp->v_dirtyblkhd.lh_first,
vp->v_numoutput, vp->v_type); vp->v_numoutput, vp->v_type);

View File

@ -1,4 +1,4 @@
/* $NetBSD: msdosfs_vnops.c,v 1.118 2001/11/30 07:05:53 chs Exp $ */ /* $NetBSD: msdosfs_vnops.c,v 1.119 2002/01/08 20:11:00 jdolecek Exp $ */
/*- /*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank. * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@ -48,7 +48,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: msdosfs_vnops.c,v 1.118 2001/11/30 07:05:53 chs Exp $"); __KERNEL_RCSID(0, "$NetBSD: msdosfs_vnops.c,v 1.119 2002/01/08 20:11:00 jdolecek Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -741,7 +741,7 @@ msdosfs_remove(v)
else else
error = removede(ddep, dep); error = removede(ddep, dep);
#ifdef MSDOSFS_DEBUG #ifdef MSDOSFS_DEBUG
printf("msdosfs_remove(), dep %p, v_usecount %ld\n", printf("msdosfs_remove(), dep %p, v_usecount %d\n",
dep, ap->a_vp->v_usecount); dep, ap->a_vp->v_usecount);
#endif #endif
if (ddep == dep) if (ddep == dep)