Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173865220
D50343.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
544 B
Referenced Files
None
Subscribers
None
D50343.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
Tue, Sep 29, 11:50 PM (13 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39908510
Default Alt Text
D50343.diff (544 B)
Attached To
Mode
D50343: ng_sample: improve styling
Attached
Detach File
Event Timeline
Log In to Comment