aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
Diffstat (limited to 'erts/doc')
-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 a55092332e..b31052287d 100644
--- a/erts/doc/src/erl_nif.xml
+++ b/erts/doc/src/erl_nif.xml
@@ -2649,7 +2649,7 @@ enif_map_iterator_destroy(env, &amp;iter);</code>
<p>Example:</p>
<code type="none">
retval = enif_select(env, fd, ERL_NIF_SELECT_STOP, resource, ref);
-if (retval < 0) {
+if (retval &lt; 0) {
/* handle error */
}
/* Success! */