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 | |
parent | 5df8a8fcf1cdd7896b38f27e65938a8fc89ec2bc (diff) | |
download | fsf-binutils-gdb-393bd0c06b64ff6076f28053cbd2fce352023c70.zip fsf-binutils-gdb-393bd0c06b64ff6076f28053cbd2fce352023c70.tar.gz fsf-binutils-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".
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ser-base.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 10abae0..ca8bbaf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-03-17 Yurij Grechishhev <yurij.grechishhev@gmail.com> + + * ser-base.h (ser_base_setstopbits): Change second argument name + from "rate" to "num". + 2015-03-17 Gary Benson <gbenson@redhat.com> Luke Allardyce <lukeallardyce@gmail.com> 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); |