Page MenuHomeFreeBSD

D34116.diff
No OneTemporary

D34116.diff

diff --git a/sbin/newfs_msdos/mkfs_msdos.c b/sbin/newfs_msdos/mkfs_msdos.c
--- a/sbin/newfs_msdos/mkfs_msdos.c
+++ b/sbin/newfs_msdos/mkfs_msdos.c
@@ -842,10 +842,10 @@
static ssize_t
getchunksize(void)
{
- static int chunksize;
+ static ssize_t chunksize;
if (chunksize != 0)
- return ((ssize_t)chunksize);
+ return (chunksize);
#ifdef KERN_MAXPHYS
int mib[2];
@@ -874,7 +874,7 @@
assert(powerof2(chunksize));
assert(chunksize > MAXBPS);
- return ((ssize_t)chunksize);
+ return (chunksize);
}
/*

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 4:20 AM (10 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15611120
Default Alt Text
D34116.diff (522 B)

Event Timeline