Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/msdosfs make compilable with MSDOSFS_DEBUG (again), supp...



details:   https://anonhg.NetBSD.org/src/rev/667b8c78e7f1
branches:  trunk
changeset: 520369:667b8c78e7f1
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Jan 08 20:11:00 2002 +0000

description:
make compilable with MSDOSFS_DEBUG (again), supply missing \n in
msdosfs_inactive() printf

diffstat:

 sys/msdosfs/msdosfs_denode.c |   8 ++++----
 sys/msdosfs/msdosfs_vfsops.c |  12 ++++++------
 sys/msdosfs/msdosfs_vnops.c  |   6 +++---
 3 files changed, 13 insertions(+), 13 deletions(-)

diffs (100 lines):

diff -r 92460f5068f8 -r 667b8c78e7f1 sys/msdosfs/msdosfs_denode.c
--- a/sys/msdosfs/msdosfs_denode.c      Tue Jan 08 19:52:16 2002 +0000
+++ b/sys/msdosfs/msdosfs_denode.c      Tue Jan 08 20:11:00 2002 +0000
@@ -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.
@@ -48,7 +48,7 @@
  */
 
 #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/systm.h>
@@ -654,7 +654,7 @@
         * as empty.  (This may not be necessary for the dos filesystem.)
         */
 #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,
                (vp->v_mount->mnt_flag & MNT_RDONLY) ? "MNT_RDONLY" : "");
 #endif
@@ -672,7 +672,7 @@
         * so that it can be reused immediately.
         */
 #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]);
 #endif
        if (dep->de_Name[0] == SLOT_DELETED)
diff -r 92460f5068f8 -r 667b8c78e7f1 sys/msdosfs/msdosfs_vfsops.c
--- a/sys/msdosfs/msdosfs_vfsops.c      Tue Jan 08 19:52:16 2002 +0000
+++ b/sys/msdosfs/msdosfs_vfsops.c      Tue Jan 08 20:11:00 2002 +0000
@@ -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.
@@ -48,7 +48,7 @@
  */
 
 #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)
 #include "opt_quota.h"
@@ -776,14 +776,14 @@
                struct vnode *vp = pmp->pm_devvp;
 
                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);
-               printf("lastr %d, id %lu, mount %p, op %p\n",
-                   vp->v_lastr, vp->v_id, vp->v_mount, vp->v_op);
+               printf("id %lu, mount %p, op %p\n",
+                   vp->v_id, vp->v_mount, vp->v_op);
                printf("freef %p, freeb %p, mount %p\n",
                    vp->v_freelist.tqe_next, vp->v_freelist.tqe_prev,
                    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_dirtyblkhd.lh_first,
                    vp->v_numoutput, vp->v_type);
diff -r 92460f5068f8 -r 667b8c78e7f1 sys/msdosfs/msdosfs_vnops.c
--- a/sys/msdosfs/msdosfs_vnops.c       Tue Jan 08 19:52:16 2002 +0000
+++ b/sys/msdosfs/msdosfs_vnops.c       Tue Jan 08 20:11:00 2002 +0000
@@ -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.
@@ -48,7 +48,7 @@
  */
 
 #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/systm.h>
@@ -741,7 +741,7 @@
        else
                error = removede(ddep, dep);
 #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);
 #endif
        if (ddep == dep)



Home | Main Index | Thread Index | Old Index