summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ufs-fsck/pass5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ufs-fsck/pass5.c b/ufs-fsck/pass5.c
index 323ae48e..dccd2140 100644
--- a/ufs-fsck/pass5.c
+++ b/ufs-fsck/pass5.c
@@ -376,7 +376,8 @@ pass5 ()
}
if (writesb)
- writeblock (SBLOCK, &sblock, SBSIZE);
+ writeblock (SBLOCK, sblock, SBSIZE);
+
if (writecsum)
{
struct csum *test;