[pushed] Fix typo in poison.h

Message ID 20171203012933.30797-1-simon.marchi@polymtl.ca
State New, archived
Headers

Commit Message

Simon Marchi Dec. 3, 2017, 1:29 a.m. UTC
  gdb/ChangeLog:

	* common/poison.h (XDELETE): Fix typo.
---
 gdb/ChangeLog       | 4 ++++
 gdb/common/poison.h | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fd027b2c81..3a7b654d1c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@ 
+2017-12-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+	* common/poison.h (XDELETE): Fix typo.
+
 2017-12-01  Andrew Cagney  <cagney@redhat.com>
 	    Joel Brobecker  <brobecker@adacore.com>
 	    Sergio Durigan Junior  <sergiodj@redhat.com>
diff --git a/gdb/common/poison.h b/gdb/common/poison.h
index 1647c9cb6f..e28b0e09d8 100644
--- a/gdb/common/poison.h
+++ b/gdb/common/poison.h
@@ -130,7 +130,7 @@  data type.  Use operator delete instead.");
 }
 
 #undef XDELETE
-#define XDELETE(P) xdelete (p)
+#define XDELETE(P) xdelete (P)
 
 template<typename T>
 static T *