Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F104082756
D37468.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
395 B
Referenced Files
None
Subscribers
None
D37468.diff
View Options
diff --git a/usr.sbin/makefs/zfs.c b/usr.sbin/makefs/zfs.c
--- a/usr.sbin/makefs/zfs.c
+++ b/usr.sbin/makefs/zfs.c
@@ -608,7 +608,7 @@
if (blksz == 0) {
/* Must be between 1<<ashift and 128KB. */
blksz = MIN(MAXBLOCKSIZE, MAX(1 << zfs->ashift,
- powerof2(size) ? size : (1ul << flsll(size))));
+ powerof2(size) ? size : (1l << flsll(size))));
}
assert(powerof2(blksz));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 4, 7:50 AM (5 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15020522
Default Alt Text
D37468.diff (395 B)
Attached To
Mode
D37468: makefs zfs: Use signed values for both results of ?:.
Attached
Detach File
Event Timeline
Log In to Comment