aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2015-03-23 15:42:23 -0700
committerJoel Brobecker <brobecker@adacore.com>2015-03-23 15:45:16 -0700
commit8a4506c0329233bd99ddc7436b6588b9c7caf13d (patch)
tree35e1dc4a535cce225beb897105e376adf9f820a1
parent236af5e336970a6b58cd17e0a2981bd96f3d09a0 (diff)
downloadgdb-8a4506c0329233bd99ddc7436b6588b9c7caf13d.zip
gdb-8a4506c0329233bd99ddc7436b6588b9c7caf13d.tar.gz
gdb-8a4506c0329233bd99ddc7436b6588b9c7caf13d.tar.bz2
Fix indentation in ser_windows_setparity and hardwire_setparity.
gdb/ChangeLog: * ser-mingw.c (ser_windows_setparity): Fix indentation. * ser-unix.c (hardwire_setparity): Likewise.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ser-mingw.c2
-rw-r--r--gdb/ser-unix.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e5e9255..77de88a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-23 Joel Brobecker <brobecker@adacore.com>
+
+ * ser-mingw.c (ser_windows_setparity): Fix indentation.
+ * ser-unix.c (hardwire_setparity): Likewise.
+
2015-03-23 Yurij Grechishhev <yurij.grechishhev@gmail.com>
* NEWS: Mention set/show serial parity command.
diff --git a/gdb/ser-mingw.c b/gdb/ser-mingw.c
index 6d383ac..a6ec374 100644
--- a/gdb/ser-mingw.c
+++ b/gdb/ser-mingw.c
@@ -223,7 +223,7 @@ ser_windows_setparity (struct serial *scb, int parity)
break;
default:
internal_warning (__FILE__, __LINE__,
- "Incorrect parity value: %d", parity);
+ "Incorrect parity value: %d", parity);
return -1;
}
diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c
index 280fb6a..356e5e7 100644
--- a/gdb/ser-unix.c
+++ b/gdb/ser-unix.c
@@ -918,7 +918,7 @@ hardwire_setparity (struct serial *scb, int parity)
break;
default:
internal_warning (__FILE__, __LINE__,
- "Incorrect parity value: %d", parity);
+ "Incorrect parity value: %d", parity);
return -1;
}