diff --git a/man2/rename.2 b/man2/rename.2 index 8c95111ec..5df64947c 100644 --- a/man2/rename.2 +++ b/man2/rename.2 @@ -29,7 +29,7 @@ .\" Modified Thu Mar 3 09:49:35 2005 by Michael Haardt .\" 2007-03-25, mtk, added various text to DESCRIPTION. .\" -.TH RENAME 2 1998-06-04 "Linux" "Linux Programmer's Manual" +.TH RENAME 2 2009-03-30 "Linux" "Linux Programmer's Manual" .SH NAME rename \- change the name or location of a file .SH SYNOPSIS @@ -159,9 +159,17 @@ has the maximum number of links. .IR oldpath " or " newpath " was too long." .TP .B ENOENT -A directory component in -.I oldpath " or " newpath -does not exist or is a dangling symbolic link. +The link named by +.I oldpath +does not exist; +or, a directory component in +.I newpath +does not exist; +or, +.I oldpath +or +.I newpath +is an empty string. .TP .B ENOMEM Insufficient kernel memory was available.