summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/disklabel.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c
index aa406d4..fcc97e5 100644
--- a/lib/libc/gen/disklabel.c
+++ b/lib/libc/gen/disklabel.c
@@ -40,8 +40,6 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#define DKTYPENAMES
#include <sys/disklabel.h>
-#include <ufs/ufs/dinode.h>
-#include <ufs/ffs/fs.h>
#include <fcntl.h>
#include <stdio.h>
@@ -118,7 +116,7 @@ getdiskbyname(const char *name)
getnumdflt(dp->d_headswitch, "hs", 0);
getnumdflt(dp->d_trkseek, "ts", 0);
getnumdflt(dp->d_bbsize, "bs", BBSIZE);
- getnumdflt(dp->d_sbsize, "sb", SBSIZE);
+ getnumdflt(dp->d_sbsize, "sb", 0);
strcpy(psize, "px");
strcpy(pbsize, "bx");
strcpy(pfsize, "fx");
OpenPOWER on IntegriCloud