Page MenuHomeFreeBSD

D50343.1793527564.diff
No OneTemporary

Authored By
Unknown
Size
544 B
Referenced Files
None
Subscribers
None

D50343.1793527564.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
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)

Event Timeline