This commit is contained in:
rsc 2006-04-28 03:08:00 +00:00
parent 5e084a4a46
commit 6802a89995

View file

@ -103,7 +103,7 @@ ffssync(Fsys *fsys)
if((b = diskread(disk, SBSIZE, off[i])) == nil)
goto error;
fsblk = (Fsblk*)b->data;
fprint(2, "offset of magic: %ld\n", offsetof(Fsblk, magic));
// fprint(2, "offset of magic: %ld\n", offsetof(Fsblk, magic));
if((fs->ufs = checkfsblk(fsblk)) > 0)
goto okay;
blockput(b);
@ -193,7 +193,7 @@ ffsclose(Fsys *fsys)
static int
checkfsblk(Fsblk *super)
{
fprint(2, "ffs magic 0x%ux\n", super->magic);
// fprint(2, "ffs magic 0x%ux\n", super->magic);
if(super->magic == FSMAGIC){
super->time = super->_time;
super->nfrag = super->_nfrag;