summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();