Fix a malformed warn() statement

This commit is contained in:
Gregory Nutt
2016-06-20 16:28:37 -06:00
parent aed4d0e198
commit 645603e6d1
+4 -12
View File
@@ -41,13 +41,13 @@
#include <arch/board/board.h> #include <arch/board/board.h>
#include <nuttx/config.h> #include <nuttx/config.h>
#include <stdbool.h>
#include <debug.h>
#include <nuttx/board.h> #include <nuttx/board.h>
#include <nuttx/power/pm.h> #include <nuttx/power/pm.h>
#include <arch/irq.h> #include <arch/irq.h>
#include <stdbool.h>
#include <debug.h>
#include "up_arch.h" #include "up_arch.h"
#include "nvic.h" #include "nvic.h"
#include "stm32_pwr.h" #include "stm32_pwr.h"
@@ -75,10 +75,6 @@
#define PM_IDLE_DOMAIN 0 /* Revisit */ #define PM_IDLE_DOMAIN 0 /* Revisit */
/****************************************************************************
* Private Types
****************************************************************************/
/**************************************************************************** /****************************************************************************
* Private Function Prototypes * Private Function Prototypes
****************************************************************************/ ****************************************************************************/
@@ -87,10 +83,6 @@
static int button_handler(int irq, FAR void *context); static int button_handler(int irq, FAR void *context);
#endif /* CONFIG_ARCH_IRQBUTTONS */ #endif /* CONFIG_ARCH_IRQBUTTONS */
/****************************************************************************
* Private Data
****************************************************************************/
/**************************************************************************** /****************************************************************************
* Private Functions * Private Functions
****************************************************************************/ ****************************************************************************/
@@ -142,7 +134,7 @@ void stm32_pm_buttons(void)
if (oldhandler != NULL) if (oldhandler != NULL)
{ {
warn(LOG_WARNING, "WARNING: oldhandler:%p is not NULL! " warn("WARNING: oldhandler:%p is not NULL! "
"Button events may be lost or aliased!\n", "Button events may be lost or aliased!\n",
oldhandler); oldhandler);
} }