Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs Another lfs superblock accessor (inside #ifdef 0).
details: https://anonhg.NetBSD.org/src/rev/c14eb14767f3
branches: trunk
changeset: 339499:c14eb14767f3
user: hannken <hannken%NetBSD.org@localhost>
date: Sat Jul 25 13:01:06 2015 +0000
description:
Another lfs superblock accessor (inside #ifdef 0).
diffstat:
sys/ufs/lfs/lfs_debug.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cec64915d776 -r c14eb14767f3 sys/ufs/lfs/lfs_debug.c
--- a/sys/ufs/lfs/lfs_debug.c Sat Jul 25 10:40:35 2015 +0000
+++ b/sys/ufs/lfs/lfs_debug.c Sat Jul 25 13:01:06 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_debug.c,v 1.44 2015/07/25 10:40:35 martin Exp $ */
+/* $NetBSD: lfs_debug.c,v 1.45 2015/07/25 13:01:06 hannken Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_debug.c,v 1.44 2015/07/25 10:40:35 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_debug.c,v 1.45 2015/07/25 13:01:06 hannken Exp $");
#ifdef DEBUG
@@ -254,7 +254,7 @@
if (actual != sp->sum_bytes_left)
printf("%s:%d: warning: segsum miscalc at %d (-%d => %d)\n",
file, line, sp->sum_bytes_left,
- fs->lfs_sumsize-sp->sum_bytes_left,
+ lfs_sb_getsumsize(fs)-sp->sum_bytes_left,
actual);
#endif
if (sp->sum_bytes_left > 0
Home |
Main Index |
Thread Index |
Old Index