Module Name: src
Committed By: hannken
Date: Mon Jun 10 09:25:05 UTC 2013
Modified Files:
src/sys/ufs/lfs: lfs_vfsops.c
Log Message:
Make DEBUG kernel compile: di_u.inumber -> di_inumber
To generate a diff of this commit:
cvs rdiff -u -r1.304 -r1.305 src/sys/ufs/lfs/lfs_vfsops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/ufs/lfs/lfs_vfsops.c
diff -u src/sys/ufs/lfs/lfs_vfsops.c:1.304 src/sys/ufs/lfs/lfs_vfsops.c:1.305
--- src/sys/ufs/lfs/lfs_vfsops.c:1.304 Sat Jun 8 02:14:46 2013
+++ src/sys/ufs/lfs/lfs_vfsops.c Mon Jun 10 09:25:05 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_vfsops.c,v 1.304 2013/06/08 02:14:46 dholland Exp $ */
+/* $NetBSD: lfs_vfsops.c,v 1.305 2013/06/10 09:25:05 hannken Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002, 2003, 2007, 2007
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_vfsops.c,v 1.304 2013/06/08 02:14:46 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_vfsops.c,v 1.305 2013/06/10 09:25:05 hannken Exp $");
#if defined(_KERNEL_OPT)
#include "opt_lfs.h"
@@ -1471,8 +1471,8 @@ retry:
(*bpp)->b_blkno);
dp = (struct ulfs1_dinode *)(*bpp)->b_data;
for (i = 0; i < INOPB(fs); i++)
- if (dp[i].di_u.inumber)
- printf("%d ", dp[i].di_u.inumber);
+ if (dp[i].di_inumber)
+ printf("%d ", dp[i].di_inumber);
printf("\n");
}
}