aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_driver.h
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2011-04-26 19:47:52 +0200
committerTuncer Ayaz <[email protected]>2011-04-26 19:47:52 +0200
commit4380605cd282d1a54afa26add33e3c666eacfcbc (patch)
tree57e84b13865e53585a4d57a4f65e59d9191cbfb2 /erts/emulator/beam/erl_driver.h
parentef407fad10bccb97aab140f5b99786b8c7b2237a (diff)
downloadotp-4380605cd282d1a54afa26add33e3c666eacfcbc.tar.gz
otp-4380605cd282d1a54afa26add33e3c666eacfcbc.tar.bz2
otp-4380605cd282d1a54afa26add33e3c666eacfcbc.zip
driver_entry: Remove gratuitous paren and fix typo
Diffstat (limited to 'erts/emulator/beam/erl_driver.h')
-rw-r--r--erts/emulator/beam/erl_driver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_driver.h b/erts/emulator/beam/erl_driver.h
index 3c0eade0d8..069b71ab0d 100644
--- a/erts/emulator/beam/erl_driver.h
+++ b/erts/emulator/beam/erl_driver.h
@@ -294,7 +294,7 @@ typedef struct erl_drv_entry {
int (*control)(ErlDrvData drv_data, unsigned int command, char *buf,
int len, char **rbuf, int rlen);
/* "ioctl" for drivers - invoked by
- port_control/3) */
+ port_control/3 */
void (*timeout)(ErlDrvData drv_data); /* Handling of timeout in driver */
void (*outputv)(ErlDrvData drv_data, ErlIOVec *ev);
/* called when we have output from erlang
@@ -307,7 +307,7 @@ typedef struct erl_drv_entry {
before 'stop' can be called */
int (*call)(ErlDrvData drv_data, unsigned int command, char *buf,
int len, char **rbuf, int rlen, unsigned int *flags);
- /* Works mostly like 'control', a syncronous
+ /* Works mostly like 'control', a synchronous
call into the driver. */
void (*event)(ErlDrvData drv_data, ErlDrvEvent event,
ErlDrvEventData event_data);