Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176864115
D50343.1793527564.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
544 B
Referenced Files
None
Subscribers
None
D50343.1793527564.diff
View Options
diff --git a/sys/netgraph/ng_sample.c b/sys/netgraph/ng_sample.c
--- a/sys/netgraph/ng_sample.c
+++ b/sys/netgraph/ng_sample.c
@@ -271,7 +271,7 @@
struct ngxxxstat *stats;
NG_MKRESPONSE(resp, msg, sizeof(*stats), M_NOWAIT);
- if (!resp) {
+ if (resp == NULL) {
error = ENOMEM;
break;
}
@@ -320,7 +320,7 @@
* in the connect() method.
*/
static int
-ng_xxx_rcvdata(hook_p hook, item_p item )
+ng_xxx_rcvdata(hook_p hook, item_p item)
{
const xxx_p xxxp = NG_NODE_PRIVATE(NG_HOOK_NODE(hook));
int chan = -2;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 1, 10:06 AM (1 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41282225
Default Alt Text
D50343.1793527564.diff (544 B)
Attached To
Mode
D50343: ng_sample: improve styling
Attached
Detach File
Event Timeline