diff --git a/drivers/note/notesnap_driver.c b/drivers/note/notesnap_driver.c index dfce652958..8925584b4c 100644 --- a/drivers/note/notesnap_driver.c +++ b/drivers/note/notesnap_driver.c @@ -420,5 +420,5 @@ void notesnap_dump(void) struct lib_syslograwstream_s stream; lib_syslograwstream_open(&stream); notesnap_dump_with_stream(&stream.common); - lib_syslograwstream_close(stream); + lib_syslograwstream_close(&stream); }