Bug 78171 - Incorrect macro name in namei.9
Summary: Incorrect macro name in namei.9
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Christian Brueffer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-28 00:10 UTC by Wojciech A. Koszek
Modified: 2005-03-07 12:09 UTC (History)
0 users

See Also:


Attachments
diff.0.namei.9 (443 bytes, text/plain)
2005-02-28 00:10 UTC, Wojciech A. Koszek
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech A. Koszek 2005-02-28 00:10:10 UTC
There is no ND_NO_FREE_PNBUF macro. Should be NDF_NO_FREE_PNBUF. Attached
patch [diff.0.namei.9] corrects this mistake in namei.9.

How-To-Repeat: There is no ND_NO_FREE_PNBUF:

% man namei | grep ND_
                      buffer intact, the ND_NO_FREE_PNBUF flag can be passed
% find /usr/include -exec grep -H ND_NO_FREE_PNBUF '{}' \;
%

There is NDF_NO_FREE_PNBUF:
% grep NDF_NO_FREE_PNBUF /usr/include/sys/namei.h
#define NDF_NO_FREE_PNBUF       0x00000020
#define NDF_ONLY_PNBUF          (~NDF_NO_FREE_PNBUF)
Comment 1 Christian Brueffer freebsd_committer freebsd_triage 2005-02-28 02:02:34 UTC
State Changed
From-To: open->patched

Patched in CURRENT, MFC pending. Thanks! 


Comment 2 Christian Brueffer freebsd_committer freebsd_triage 2005-02-28 02:02:34 UTC
Responsible Changed
From-To: freebsd-doc->brueffer

MFC reminder.
Comment 3 Christian Brueffer freebsd_committer freebsd_triage 2005-03-07 12:08:57 UTC
State Changed
From-To: patched->closed

MFC done, thanks!