From: Yurij Grechishhev Date: Tue, 17 Mar 2015 14:11:20 +0000 (-0400) Subject: Fix name of ser_base_setstopbits's second argument. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=393bd0c06b64ff6076f28053cbd2fce352023c70;p=binutils-gdb.git 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". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 10abae00ffc..ca8bbaf4efb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-03-17 Yurij Grechishhev + + * ser-base.h (ser_base_setstopbits): Change second argument name + from "rate" to "num". + 2015-03-17 Gary Benson Luke Allardyce diff --git a/gdb/ser-base.h b/gdb/ser-base.h index 2aba66d3685..6aac9256360 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);