diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-05-12 20:49:41 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-05-12 20:49:41 +0000 |
| commit | 77068a7fe2146f5edd3808696532ac3adea99df8 (patch) | |
| tree | 23b6f85553aa96d4599428d24b108a5190c99452 /lib | |
| parent | 201efb1913e986bbb8777051dc035e4a0f5a4c02 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/gen/disklabel.c | 4 | ||||
| -rw-r--r-- | lib/libdisk/write_disk.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c index aa406d48356d3..fcc97e521cdfd 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"); diff --git a/lib/libdisk/write_disk.c b/lib/libdisk/write_disk.c index d87216d70ef3c..8dd5c8e303f4b 100644 --- a/lib/libdisk/write_disk.c +++ b/lib/libdisk/write_disk.c @@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$"); #define DOSPTYP_EXTENDED 5 #define BBSIZE 8192 -#define SBSIZE 8192 +#define SBSIZE 0 #define DEF_RPM 3600 #define DEF_INTERLEAVE 1 |
