summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/newfs.h
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2010-03-09 10:31:03 +0000
committersobomax <sobomax@FreeBSD.org>2010-03-09 10:31:03 +0000
commit1b7c7ca0d50397cfc767a9889922470f33759106 (patch)
tree25316d3a27e5940073b23bff467e2b6eae3b9d3d /sbin/newfs/newfs.h
parent03f7b71a7adf7744c15affe072483f8858c231c5 (diff)
downloadFreeBSD-src-1b7c7ca0d50397cfc767a9889922470f33759106.zip
FreeBSD-src-1b7c7ca0d50397cfc767a9889922470f33759106.tar.gz
Change secrorsize back to int, since that's the data type expected by the
ioctl(DIOCGSECTORSIZE). It creates issues on some architectures. MFC after: 1 week Reported by: Jayachandran C.
Diffstat (limited to 'sbin/newfs/newfs.h')
-rw-r--r--sbin/newfs/newfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/newfs/newfs.h b/sbin/newfs/newfs.h
index 579d109..d957e26 100644
--- a/sbin/newfs/newfs.h
+++ b/sbin/newfs/newfs.h
@@ -86,7 +86,7 @@ extern int Jflag; /* enable gjournal for file system */
extern int lflag; /* enable multilabel MAC for file system */
extern int nflag; /* do not create .snap directory */
extern intmax_t fssize; /* file system size */
-extern int64_t sectorsize; /* bytes/sector */
+extern int sectorsize; /* bytes/sector */
extern int realsectorsize; /* bytes/sector in hardware*/
extern int64_t fsize; /* fragment size */
extern int64_t bsize; /* block size */
OpenPOWER on IntegriCloud