aboutsummaryrefslogtreecommitdiff
path: root/sbin/growfs
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2018-12-06 00:09:39 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2018-12-06 00:09:39 +0000
commitfb14e73cb4062d7272ce6183d748adedd868906b (patch)
tree5f7d25721fa794a719544a1967b6c9d511f59d69 /sbin/growfs
parent369d9a2c153e45e2645bc78cdc3a8cdc42f45b7b (diff)
downloadsrc-fb14e73cb4062d7272ce6183d748adedd868906b.tar.gz
src-fb14e73cb4062d7272ce6183d748adedd868906b.zip
Notes
Diffstat (limited to 'sbin/growfs')
-rw-r--r--sbin/growfs/growfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c
index b75f377841ef..967cda3330d0 100644
--- a/sbin/growfs/growfs.c
+++ b/sbin/growfs/growfs.c
@@ -1449,7 +1449,7 @@ main(int argc, char **argv)
/*
* Read the current superblock, and take a backup.
*/
- if ((ret = sbget(fsi, &fs, -1)) != 0) {
+ if ((ret = sbget(fsi, &fs, STDSB)) != 0) {
switch (ret) {
case ENOENT:
errx(1, "superblock not recognized");