projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sun
[unix-history]
/
usr
/
src
/
sbin
/
newfs
/
mkfs.c
diff --git
a/usr/src/sbin/newfs/mkfs.c
b/usr/src/sbin/newfs/mkfs.c
index
45a57ef
..
81e78a5
100644
(file)
--- a/
usr/src/sbin/newfs/mkfs.c
+++ b/
usr/src/sbin/newfs/mkfs.c
@@
-1,4
+1,4
@@
-static char *sccsid = "@(#)mkfs.c 2.
5
(Berkeley) %G%";
+static char *sccsid = "@(#)mkfs.c 2.
6
(Berkeley) %G%";
/*
* make file system for cylinder-group style file systems
/*
* make file system for cylinder-group style file systems
@@
-466,7
+466,7
@@
next:
/*
* Write out the duplicate super blocks
*/
/*
* Write out the duplicate super blocks
*/
- for (cylno =
1
; cylno < sblock.fs_ncg; cylno++)
+ for (cylno =
0
; cylno < sblock.fs_ncg; cylno++)
wtfs(fsbtodb(&sblock, cgsblock(&sblock, cylno)),
SBSIZE, (char *)&sblock);
#ifndef STANDALONE
wtfs(fsbtodb(&sblock, cgsblock(&sblock, cylno)),
SBSIZE, (char *)&sblock);
#ifndef STANDALONE