summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpranomostro <pranomestro@gmail.com>2016-10-31 17:58:15 +0100
committerpranomostro <pranomestro@gmail.com>2016-10-31 17:58:15 +0100
commit229d47fceca9b96be6db3027c5090c05042d6d56 (patch)
tree7f49ee0be995f8b8e2b0a12397d8c9bffe6f0875
parent1a84f078eff8ebcbff66a2b1fef83995b2562dcd (diff)
Add missing variable for weprintf conversion.
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
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();