aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-07-30 16:16:26 +0200
committerFredrik Gustafsson <[email protected]>2013-07-30 16:16:26 +0200
commitd8787b43ca5f33b6ec95300c8ce6f06c80886801 (patch)
treeee1bd7ea0fe02831040954d303c4fa311c5d91d3 /lib
parentef31996dc6186222a9fadfae2beca702ea1a86ec (diff)
downloadotp-d8787b43ca5f33b6ec95300c8ce6f06c80886801.tar.gz
otp-d8787b43ca5f33b6ec95300c8ce6f06c80886801.tar.bz2
otp-d8787b43ca5f33b6ec95300c8ce6f06c80886801.zip
kernel: fixed specs to inet:ntoa/1
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/src/inet.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/inet.erl b/lib/kernel/src/inet.erl
index d0fddec058..5749027acd 100644
--- a/lib/kernel/src/inet.erl
+++ b/lib/kernel/src/inet.erl
@@ -532,7 +532,7 @@ getservbyname(Name, Protocol) when is_atom(Name) ->
-spec ntoa(IpAddress) ->
{ok, Address} | {error, einval} when
Address :: string(),
- IPv4Address :: ip_address().
+ IpAddress :: ip_address().
ntoa(Addr) ->
inet_parse:ntoa(Addr).