diff --git a/doc/api/process.md b/doc/api/process.md index c454d675746..e137ef6a6bd 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1181,13 +1181,13 @@ setTimeout(() => { ``` -## process.initgroups(user, extra_group) +## process.initgroups(user, extraGroup) * `user` {string|number} The user name or numeric identifier. -* `extra_group` {string|number} A group name or numeric identifier. +* `extraGroup` {string|number} A group name or numeric identifier. The `process.initgroups()` method reads the `/etc/group` file and initializes the group access list, using all groups of which the user is a member. This is diff --git a/doc/api/tls.md b/doc/api/tls.md index 77e0175eee0..154a10b2e5c 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1338,10 +1338,10 @@ socket.pipe(pair.encrypted); can be replaced by: ```js -secure_socket = tls.TLSSocket(socket, options); +secureSocket = tls.TLSSocket(socket, options); ``` -where `secure_socket` has the same API as `pair.cleartext`. +where `secureSocket` has the same API as `pair.cleartext`. [`'secureConnect'`]: #tls_event_secureconnect [`'secureConnection'`]: #tls_event_secureconnection