aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-04-06 16:53:18 +0200
committerSverker Eriksson <[email protected]>2018-04-06 16:53:18 +0200
commit249da1f79a877e3c79b661a9e520ea8910d14726 (patch)
tree64a03741a0088b606901c9f44eae1cc7b2f97cd6 /erts
parentd91b104f9bd7177fc97890f07c8949704ca54725 (diff)
downloadotp-249da1f79a877e3c79b661a9e520ea8910d14726.tar.gz
otp-249da1f79a877e3c79b661a9e520ea8910d14726.tar.bz2
otp-249da1f79a877e3c79b661a9e520ea8910d14726.zip
erts: Fix doc typo for enif_free_iovec
Diffstat (limited to 'erts')
-rw-r--r--erts/doc/src/erl_nif.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml
index cabc07d020..8a9ae58e99 100644
--- a/erts/doc/src/erl_nif.xml
+++ b/erts/doc/src/erl_nif.xml
@@ -1292,7 +1292,7 @@ typedef struct {
ErlNifIOVec *iovec = NULL;
size_t max_elements = 128;
ERL_NIF_TERM tail;
-if (!enif_inspect_iovec(NULL, max_elements, term, &tail, iovec))
+if (!enif_inspect_iovec(NULL, max_elements, term, &tail, &iovec))
return 0;
// Do things with the iovec