aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/socket.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/socket.texi b/manual/socket.texi
index d77e556..b89a63f 100644
--- a/manual/socket.texi
+++ b/manual/socket.texi
@@ -1285,7 +1285,7 @@ parameters.
A pointer to the buffer, in which the result is stored, is available in
@code{*@var{result}} after the function call successfully returned. If
-an error occurs or if no entry is found, the pointer @code{*var{result}
+an error occurs or if no entry is found, the pointer @code{*@var{result}}
is a null pointer. Success is signalled by a zero return value. If the
function failed the return value is an error number. In addition to the
errors defined for @code{gethostbyname} it can also be @code{ERANGE}.