[PATCH phosphor-event] Clear all logs not working

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Dec 3 17:00:25 AEDT 2015


From: Chris Austen <austenc at us.ibm.com>

---
 event_messaged.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/event_messaged.c b/event_messaged.c
index 1512310..0c75e3a 100644
--- a/event_messaged.c
+++ b/event_messaged.c
@@ -194,7 +194,7 @@ static const sd_bus_vtable recordlog_vtable[] = {
 	SD_BUS_VTABLE_START(0),
 	SD_BUS_METHOD("acceptHostMessage", "sssay", "q", method_accept_host_message, SD_BUS_VTABLE_UNPRIVILEGED),
 	SD_BUS_METHOD("acceptTestMessage", NULL, "q", method_accept_test_message, SD_BUS_VTABLE_UNPRIVILEGED),
-	SD_BUS_METHOD("Clear", NULL, NULL, method_clearall, SD_BUS_VTABLE_UNPRIVILEGED),
+	SD_BUS_METHOD("Clear", NULL, "q", method_clearall, SD_BUS_VTABLE_UNPRIVILEGED),
 	SD_BUS_VTABLE_END
 };
 
-- 
2.6.3




More information about the openbmc mailing list