diff --git a/doc/api/fs.md b/doc/api/fs.md index 8eef0967944..cf46d966798 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1261,7 +1261,7 @@ The file is created if it does not exist. * `'ax+'` - Like `'a+'` but fails if `path` exists. `mode` sets the file mode (permission and sticky bits), but only if the file was -created. It defaults to `0666`, readable and writable. +created. It defaults to `0o666` (readable and writable). The callback gets two arguments `(err, fd)`.