From 32ad9f7e3ad9b95a24a49d80a56d304b2d7ea219 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 5 Sep 2011 22:55:31 +0200 Subject: [PATCH] i3-msg: include newline at the end of the reply --- i3-msg/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3-msg/main.c b/i3-msg/main.c index d8195e08..2d7cef0e 100644 --- a/i3-msg/main.c +++ b/i3-msg/main.c @@ -245,7 +245,7 @@ int main(int argc, char *argv[]) { uint32_t reply_length; uint8_t *reply; ipc_recv_message(sockfd, message_type, &reply_length, &reply); - printf("%.*s", reply_length, reply); + printf("%.*s\n", reply_length, reply); free(reply); close(sockfd);