summaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-09-08 20:57:08 +0000
committerK. Richard Pixley <rich@cygnus>1993-09-08 20:57:08 +0000
commit0ac0a9f6f14269d2a69c804a8194cc2f7009ab3b (patch)
tree33d031059a847d21d9326fbd1a635a55ab3a6c5a /gdb/serial.h
parent46c28185abd94175e479cec1ffaa9f2dd89f9e38 (diff)
downloadbinutils-0ac0a9f6f14269d2a69c804a8194cc2f7009ab3b.tar.gz
binutils-0ac0a9f6f14269d2a69c804a8194cc2f7009ab3b.tar.bz2
binutils-0ac0a9f6f14269d2a69c804a8194cc2f7009ab3b.zip
gcc lint
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 808aad213c7..84916d32306 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -132,8 +132,8 @@ serial_t serial_fdopen PARAMS ((int fd));
#define SERIAL_SETBAUDRATE(SERIAL_T, RATE) ((SERIAL_T)->ops->setbaudrate((SERIAL_T), RATE))
-/* Write LEN chars from STRING to the port SERIAL_T. Returns 0 for success,
- -1 for failure. */
+/* Write LEN chars from STRING to the port SERIAL_T. Returns 0 for
+ success, non-zero for failure. */
#define SERIAL_WRITE(SERIAL_T, STRING, LEN) ((SERIAL_T)->ops->write((SERIAL_T), STRING, LEN))