From 8b2b6e057f81cb7e586cfcef5b0121dd4fb1d39a Mon Sep 17 00:00:00 2001 From: njoly Date: Wed, 13 Jul 2011 19:51:29 +0000 Subject: [PATCH] Add function name to a few debug messages. --- sys/fs/sysvbfs/sysvbfs_vfsops.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sys/fs/sysvbfs/sysvbfs_vfsops.c b/sys/fs/sysvbfs/sysvbfs_vfsops.c index d1122e5e1bc7..00cea482f25c 100644 --- a/sys/fs/sysvbfs/sysvbfs_vfsops.c +++ b/sys/fs/sysvbfs/sysvbfs_vfsops.c @@ -1,4 +1,4 @@ -/* $NetBSD: sysvbfs_vfsops.c,v 1.36 2011/06/12 03:35:54 rmind Exp $ */ +/* $NetBSD: sysvbfs_vfsops.c,v 1.37 2011/07/13 19:51:29 njoly Exp $ */ /*- * Copyright (c) 2004 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sysvbfs_vfsops.c,v 1.36 2011/06/12 03:35:54 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sysvbfs_vfsops.c,v 1.37 2011/07/13 19:51:29 njoly Exp $"); #include #include @@ -207,8 +207,9 @@ sysvbfs_mountfs(struct vnode *devvp, struct mount *mp, struct lwp *l) mp->mnt_dev_bshift = BFS_BSHIFT; mp->mnt_fs_bshift = BFS_BSHIFT; - DPRINTF("fstype=%d dtype=%d bsize=%d\n", dpart.part->p_fstype, - dpart.disklab->d_type, dpart.disklab->d_secsize); + DPRINTF("%s: fstype=%d dtype=%d bsize=%d\n", __func__, + dpart.part->p_fstype, dpart.disklab->d_type, + dpart.disklab->d_secsize); out: if (devopen && error) @@ -341,7 +342,7 @@ sysvbfs_vget(struct mount *mp, ino_t ino, struct vnode **vpp) DPRINTF("%s: i-node=%lld\n", __func__, (long long)ino); /* Lookup requested i-node */ if (!bfs_inode_lookup(bfs, ino, &inode)) { - DPRINTF("bfs_inode_lookup failed.\n"); + DPRINTF("%s: bfs_inode_lookup failed.\n", __func__); return ENOENT; }