aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/driver_entry.xml
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/doc/src/driver_entry.xml
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/doc/src/driver_entry.xml')
-rw-r--r--erts/doc/src/driver_entry.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/doc/src/driver_entry.xml b/erts/doc/src/driver_entry.xml
index 7860d83d83..8bdd154cb9 100644
--- a/erts/doc/src/driver_entry.xml
+++ b/erts/doc/src/driver_entry.xml
@@ -133,7 +133,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
@@ -146,7 +146,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);