diff options
author | phk <phk@FreeBSD.org> | 2002-05-12 20:49:41 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-05-12 20:49:41 +0000 |
commit | 02fe70f68eeae14d8c6155c522822cd36d600068 (patch) | |
tree | 23b6f85553aa96d4599428d24b108a5190c99452 /lib/libc/gen/disklabel.c | |
parent | 320493f9ebe397927d0ac2dd711de742218c0252 (diff) | |
download | FreeBSD-src-02fe70f68eeae14d8c6155c522822cd36d600068.zip FreeBSD-src-02fe70f68eeae14d8c6155c522822cd36d600068.tar.gz |
Retire the bogus uses of the disklabel field d_sbsize and begin to
initialize it to zero so we don't have to have everbody and their
aunt including FFS specific header files.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'lib/libc/gen/disklabel.c')
-rw-r--r-- | lib/libc/gen/disklabel.c | 4 |
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"); |