Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106147032
D34116.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
522 B
Referenced Files
None
Subscribers
None
D34116.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D34116: newfs_msdos: fix type of kern.maxphys; connect ATF test from NetBSD
Attached
Detach File
Event Timeline
Log In to Comment