Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109391597
D40089.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
573 B
Referenced Files
None
Subscribers
None
D40089.diff
View Options
diff --git a/sys/kern/subr_unit.c b/sys/kern/subr_unit.c
--- a/sys/kern/subr_unit.c
+++ b/sys/kern/subr_unit.c
@@ -192,7 +192,7 @@
CTASSERT((sizeof(struct unr) % sizeof(bitstr_t)) == 0);
/* Number of bits we can store in the bitmap */
-#define NBITS (8 * sizeof(((struct unrb*)NULL)->map))
+#define NBITS (NBBY * sizeof(((struct unrb *)NULL)->map))
/* Is the unrb empty in at least the first len bits? */
static inline bool
@@ -1011,7 +1011,7 @@
}
static void
-usage(char** argv)
+usage(char **argv)
{
printf("%s [-h] [-r REPETITIONS] [-v]\n", argv[0]);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 11:21 AM (20 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16473275
Default Alt Text
D40089.diff (573 B)
Attached To
Mode
D40089: reapkill: handle possible pid reuse after the pid was recorded as signalled
Attached
Detach File
Event Timeline
Log In to Comment