Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/fsck_ext2fs remove debug printfs from last commit.
details: https://anonhg.NetBSD.org/src/rev/1bfe53b12719
branches: trunk
changeset: 997901:1bfe53b12719
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sun Mar 31 10:52:00 2019 +0000
description:
remove debug printfs from last commit.
diffstat:
sbin/fsck_ext2fs/setup.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 9367d8d37d71 -r 1bfe53b12719 sbin/fsck_ext2fs/setup.c
--- a/sbin/fsck_ext2fs/setup.c Sun Mar 31 03:04:57 2019 +0000
+++ b/sbin/fsck_ext2fs/setup.c Sun Mar 31 10:52:00 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: setup.c,v 1.36 2019/03/30 17:32:40 mlelstv Exp $ */
+/* $NetBSD: setup.c,v 1.37 2019/03/31 10:52:00 mlelstv Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@@ -58,7 +58,7 @@
#if 0
static char sccsid[] = "@(#)setup.c 8.5 (Berkeley) 11/23/94";
#else
-__RCSID("$NetBSD: setup.c,v 1.36 2019/03/30 17:32:40 mlelstv Exp $");
+__RCSID("$NetBSD: setup.c,v 1.37 2019/03/31 10:52:00 mlelstv Exp $");
#endif
#endif /* not lint */
@@ -514,10 +514,8 @@
return 0;
}
memset(fs, 0, sizeof(struct m_ext2fs));
-printf("partition fsize = %d\n", pp->p_fsize);
fs->e2fs_bsize = pp->p_fsize;
fs->e2fs.e2fs_log_bsize = ilog2(pp->p_fsize / 1024);
-printf("log_bsize = %d\n", fs->e2fs.e2fs_log_bsize);
fs->e2fs.e2fs_bcount = (pp->p_size * DEV_BSIZE) / fs->e2fs_bsize;
fs->e2fs.e2fs_first_dblock = (fs->e2fs.e2fs_log_bsize == 0) ? 1 : 0;
fs->e2fs.e2fs_bpg = fs->e2fs_bsize * NBBY;
Home |
Main Index |
Thread Index |
Old Index