diff options
author | Yurij Grechishhev <yurij.grechishhev@gmail.com> | 2015-03-17 10:11:20 -0400 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2015-03-17 10:12:56 -0400 |
commit | 393bd0c06b64ff6076f28053cbd2fce352023c70 (patch) | |
tree | 2942a1cc8c2bd799f474387dbe5e49716eaf9fcf /gdb/ser-base.h | |
parent | 5df8a8fcf1cdd7896b38f27e65938a8fc89ec2bc (diff) | |
download | gdb-393bd0c06b64ff6076f28053cbd2fce352023c70.zip gdb-393bd0c06b64ff6076f28053cbd2fce352023c70.tar.gz gdb-393bd0c06b64ff6076f28053cbd2fce352023c70.tar.bz2 |
Fix name of ser_base_setstopbits's second argument.
Small copy/paste error, most likely...
gdb/ChangeLog:
* ser-base.h (ser_base_setstopbits): Change second argument name
from "rate" to "num".
Diffstat (limited to 'gdb/ser-base.h')
-rw-r--r-- | gdb/ser-base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ser-base.h b/gdb/ser-base.h index 2aba66d..6aac925 100644 --- a/gdb/ser-base.h +++ b/gdb/ser-base.h @@ -42,7 +42,7 @@ extern int ser_base_noflush_set_tty_state (struct serial *scb, serial_ttystate new_ttystate, serial_ttystate old_ttystate); extern int ser_base_setbaudrate (struct serial *scb, int rate); -extern int ser_base_setstopbits (struct serial *scb, int rate); +extern int ser_base_setstopbits (struct serial *scb, int num); extern int ser_base_drain_output (struct serial *scb); extern int ser_base_write (struct serial *scb, const void *buf, size_t count); |