Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148102540
D45852.1785381302.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
475 B
Referenced Files
None
Subscribers
None
D45852.1785381302.diff
View Options
diff --git a/sys/kern/kern_fail.c b/sys/kern/kern_fail.c
--- a/sys/kern/kern_fail.c
+++ b/sys/kern/kern_fail.c
@@ -479,11 +479,10 @@
/* Allocate the name and fill it in. */
name = fp_malloc(n + 1, M_WAITOK);
- if (name != NULL) {
- va_start(ap, fmt);
- vsnprintf(name, n + 1, fmt, ap);
- va_end(ap);
- }
+ va_start(ap, fmt);
+ vsnprintf(name, n + 1, fmt, ap);
+ va_end(ap);
+
fp->fp_name = name;
fp->fp_location = "";
fp->fp_flags |= FAIL_POINT_DYNAMIC_NAME;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 30, 3:15 AM (13 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29309422
Default Alt Text
D45852.1785381302.diff (475 B)
Attached To
Mode
D45852: Stop checking for failures from malloc(M_WAITOK)
Attached
Detach File
Event Timeline
Log In to Comment