Spell DIAGNOSTIC correctly.
This commit is contained in:
parent
570d2b25a6
commit
90147b7506
@ -259,7 +259,7 @@ smbfs_mount(struct mount *mp)
|
||||
VOP_UNLOCK(vp, 0);
|
||||
SMBVDEBUG("root.v_usecount = %d\n", vrefcnt(vp));
|
||||
|
||||
#ifdef DIAGNOSTICS
|
||||
#ifdef DIAGNOSTIC
|
||||
SMBERROR("mp=%p\n", mp);
|
||||
#endif
|
||||
return error;
|
||||
|
@ -76,10 +76,10 @@ Archie's suggestions... :-)
|
||||
be careful with things like #ifdef INET.
|
||||
- All nodes assume that all data mbufs have the M_PKTHDR flag set!
|
||||
The ng_send_data() and related functions should have an
|
||||
#ifdef DIAGNOSTICS check to check this assumption for every mbuf.
|
||||
#ifdef DIAGNOSTIC check to check this assumption for every mbuf.
|
||||
-DONE with INVARIANTS. Framework should test this more.
|
||||
- More generally, netgraph code should make liberal use of the
|
||||
#ifdef DIAGNOSTICS definition.
|
||||
#ifdef DIAGNOSTIC definition.
|
||||
-INVARIANTS.
|
||||
- Since data and messages are sent functionally, programmers need
|
||||
to watch out for infinite feedback loops. Should ng_base.c detect
|
||||
|
Loading…
Reference in New Issue
Block a user