diff --git a/reference/filesystem/functions/dirname.xml b/reference/filesystem/functions/dirname.xml
index a059fce237..05fd795222 100644
--- a/reference/filesystem/functions/dirname.xml
+++ b/reference/filesystem/functions/dirname.xml
@@ -31,7 +31,7 @@
correct directory name with multibyte character paths, the matching codepage must
be set.
If path contains characters which are invalid for the
- current codepage, the behavior of basename is undefined.
+ current codepage, the behavior of dirname is undefined.
On other systems, dirname assumes path