aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/drivers/common
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-12-05 18:45:44 +0100
committerLukas Larsson <[email protected]>2011-12-05 19:39:40 +0100
commitec885e883c99825e7d737752b1b0aebbbafbd670 (patch)
tree113a30c70ca435b2d9f52d8dde7ca4e77860948f /erts/emulator/drivers/common
parent250a556b1e3eb8486ec294f94d3b918c9ac91542 (diff)
downloadotp-ec885e883c99825e7d737752b1b0aebbbafbd670.tar.gz
otp-ec885e883c99825e7d737752b1b0aebbbafbd670.tar.bz2
otp-ec885e883c99825e7d737752b1b0aebbbafbd670.zip
Clarify some code comments
Thanks Tuncer Ayaz
Diffstat (limited to 'erts/emulator/drivers/common')
-rw-r--r--erts/emulator/drivers/common/erl_efile.h2
-rw-r--r--erts/emulator/drivers/common/inet_drv.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/drivers/common/erl_efile.h b/erts/emulator/drivers/common/erl_efile.h
index ed8910a8b8..0ed4a60efb 100644
--- a/erts/emulator/drivers/common/erl_efile.h
+++ b/erts/emulator/drivers/common/erl_efile.h
@@ -126,7 +126,7 @@ typedef struct _Efile_info {
#ifdef HAVE_SENDFILE
/*
- * Described the structure of header/trailers for sendfile
+ * Describes the structure of headers/trailers for sendfile
*/
struct t_sendfile_hdtl {
SysIOVec *headers;
diff --git a/erts/emulator/drivers/common/inet_drv.c b/erts/emulator/drivers/common/inet_drv.c
index 56799555a9..abbd835605 100644
--- a/erts/emulator/drivers/common/inet_drv.c
+++ b/erts/emulator/drivers/common/inet_drv.c
@@ -872,9 +872,9 @@ typedef struct {
double send_avg; /* average packet size sent */
subs_list empty_out_q_subs; /* Empty out queue subscribers */
- int is_ignored; /* if a fd is ignored by from the inet_drv,
- this should be set to true when the fd is used
- outside of inet_drv. */
+ int is_ignored; /* if a fd is ignored by the inet_drv.
+ This flag should be set to true when
+ the fd is used outside of inet_drv. */
} inet_descriptor;