Source-Changes-HG archive

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

[src/trunk]: src/sbin/newfs_lfs Fix frag -> fsize typo



details:   https://anonhg.NetBSD.org/src/rev/7e564e2c8aa0
branches:  trunk
changeset: 480781:7e564e2c8aa0
user:      perseant <perseant%NetBSD.org@localhost>
date:      Wed Jan 19 21:27:08 2000 +0000

description:
Fix frag -> fsize typo

diffstat:

 sbin/newfs_lfs/lfs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2d090ae62a81 -r 7e564e2c8aa0 sbin/newfs_lfs/lfs.c
--- a/sbin/newfs_lfs/lfs.c      Wed Jan 19 20:23:46 2000 +0000
+++ b/sbin/newfs_lfs/lfs.c      Wed Jan 19 21:27:08 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs.c,v 1.8 2000/01/18 21:57:59 perseant Exp $ */
+/*     $NetBSD: lfs.c,v 1.9 2000/01/19 21:27:08 perseant Exp $ */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)lfs.c      8.5 (Berkeley) 5/24/95";
 #else
-__RCSID("$NetBSD: lfs.c,v 1.8 2000/01/18 21:57:59 perseant Exp $");
+__RCSID("$NetBSD: lfs.c,v 1.9 2000/01/19 21:27:08 perseant Exp $");
 #endif
 #endif /* not lint */
 
@@ -239,7 +239,7 @@
                if (!(bsize = partp->p_fsize * partp->p_frag))
                        bsize = DFL_LFSBLOCK;
        if (!(fsize = frag_size))
-               if (!(fsize = partp->p_frag))
+               if (!(fsize = partp->p_fsize))
                        fsize = DFL_LFSFRAG;
        if (!(ssize = seg_size))
                if (partp->p_sgs == 0 ||



Home | Main Index | Thread Index | Old Index