diff --git a/man2/inotify_add_watch.2 b/man2/inotify_add_watch.2 index 3b75a7443..4e3cd81d2 100644 --- a/man2/inotify_add_watch.2 +++ b/man2/inotify_add_watch.2 @@ -26,7 +26,7 @@ .\" 2005-07-19 Robert Love - initial version .\" 2006-02-07 mtk, various changes .\" -.TH INOTIFY_ADD_WATCH 2 2006-02-07 "Linux" "Linux Programmer's Manual" +.TH INOTIFY_ADD_WATCH 2 2010-10-20 "Linux" "Linux Programmer's Manual" .SH NAME inotify_add_watch \- add a watch to an initialized inotify instance .SH SYNOPSIS @@ -101,6 +101,11 @@ The given event mask contains no valid events; or .I fd is not an inotify file descriptor. .TP +.B ENOENT +A directory component in +.I pathname +does not exist or is a dangling symbolic link. +.TP .B ENOMEM Insufficient kernel memory was available. .TP