From 229d47fceca9b96be6db3027c5090c05042d6d56 Mon Sep 17 00:00:00 2001 From: pranomostro Date: Mon, 31 Oct 2016 17:58:15 +0100 Subject: Add missing variable for weprintf conversion. --- ratox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ratox.c b/ratox.c index 487000a..f450a9e 100644 --- a/ratox.c +++ b/ratox.c @@ -1470,7 +1470,7 @@ setstatus(void *data) status[n] = '\0'; r = tox_set_status_message(tox, status, n); if (r < 0) { - weprintf("Failed to set status message to \"%s\"\n"); + weprintf("Failed to set status message to \"%s\"\n", status); return; } datasave(); -- cgit v1.2.3