From 33349010cdb9dfb6b9ad4e37596ba0c747a417f4 Mon Sep 17 00:00:00 2001 From: Roger Light Date: Sun, 22 Aug 2021 07:55:10 +0100 Subject: [PATCH] Fix linker error --- apps/mosquitto_passwd/mosquitto_passwd.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/mosquitto_passwd/mosquitto_passwd.c b/apps/mosquitto_passwd/mosquitto_passwd.c index 5a5a04f4..d783c289 100644 --- a/apps/mosquitto_passwd/mosquitto_passwd.c +++ b/apps/mosquitto_passwd/mosquitto_passwd.c @@ -106,6 +106,15 @@ static FILE *mpw_tmpfile(void) } #endif +int log__printf(void *mosq, unsigned int level, const char *fmt, ...) +{ + /* Stub for misc_mosq.c */ + UNUSED(mosq); + UNUSED(level); + UNUSED(fmt); + return 0; +} + static void print_usage(void) {