aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/drivers/common/efile_drv.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-03-04 16:16:05 +0100
committerBjörn-Egil Dahlberg <[email protected]>2013-03-04 16:18:33 +0100
commit209f6091c24c63651132dae4cbcf1eab9ea8913c (patch)
treea8014ad655ae0136f10ae669a27305fe1a37e5db /erts/emulator/drivers/common/efile_drv.c
parent6ca494bba68eccc5359c96538bfbec9fe9f72a69 (diff)
downloadotp-209f6091c24c63651132dae4cbcf1eab9ea8913c.tar.gz
otp-209f6091c24c63651132dae4cbcf1eab9ea8913c.tar.bz2
otp-209f6091c24c63651132dae4cbcf1eab9ea8913c.zip
erts: Use block comments - ansi style
Diffstat (limited to 'erts/emulator/drivers/common/efile_drv.c')
-rw-r--r--erts/emulator/drivers/common/efile_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/drivers/common/efile_drv.c b/erts/emulator/drivers/common/efile_drv.c
index 69acfc9dfd..b202556f1e 100644
--- a/erts/emulator/drivers/common/efile_drv.c
+++ b/erts/emulator/drivers/common/efile_drv.c
@@ -2559,7 +2559,7 @@ file_async_ready(ErlDrvData e, ErlDrvThreadData data)
reply_Sint64(desc, d->c.sendfile.written);
desc->sendfile_state = not_sending;
free_sendfile(data);
- } else if (d->result_ok == 1) { // If we are using select to send the rest of the data
+ } else if (d->result_ok == 1) { /* If we are using select to send the rest of the data */
desc->sendfile_state = sending;
desc->d = d;
driver_select(desc->port, (ErlDrvEvent)(long)d->c.sendfile.out_fd,
@@ -4114,7 +4114,7 @@ file_outputv(ErlDrvData e, ErlIOVec *ev) {
}
if (hd_len != 0 || tl_len != 0 || flags != 0) {
- // We do not allow header, trailers and/or flags right now
+ /* We do not allow header, trailers and/or flags right now */
reply_posix_error(desc, EINVAL);
goto done;
}