aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/journal/g_journal_ufs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/journal/g_journal_ufs.c')
-rw-r--r--sys/geom/journal/g_journal_ufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/journal/g_journal_ufs.c b/sys/geom/journal/g_journal_ufs.c
index de0dbd83d48b..028c68079482 100644
--- a/sys/geom/journal/g_journal_ufs.c
+++ b/sys/geom/journal/g_journal_ufs.c
@@ -72,7 +72,7 @@ g_journal_ufs_dirty(struct g_consumer *cp)
fs = NULL;
if (SBLOCKSIZE % cp->provider->sectorsize != 0 ||
- ffs_sbget(cp, &fs, -1, M_GEOM, g_use_g_read_data) != 0) {
+ ffs_sbget(cp, &fs, STDSB, M_GEOM, g_use_g_read_data) != 0) {
GJ_DEBUG(0, "Cannot find superblock to mark file system %s "
"as dirty.", cp->provider->name);
KASSERT(fs == NULL,