Page MenuHomeFreeBSD

D50343.diff
No OneTemporary

D50343.diff

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

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)

Event Timeline