From 7e6e50b1c5b802d4124b95b87e6e0ae354d356c7 Mon Sep 17 00:00:00 2001 From: Roland Kammerer Date: Mon, 29 Dec 2008 18:57:43 +0100 Subject: [PATCH] awesome-client: fix warning by using a_asprintf() Signed-off-by: Julien Danjou --- awesome-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome-client.c b/awesome-client.c index a70f4f06..c55f0d77 100644 --- a/awesome-client.c +++ b/awesome-client.c @@ -197,7 +197,7 @@ main(int argc, char **argv) if(isatty(STDIN_FILENO)) { - asprintf(&prompt, "awesome@%s%% ", display ? display : "unknown"); + a_asprintf(&prompt, "awesome@%s%% ", display ? display : "unknown"); while((msg = readline(prompt))) if((msg_len = a_strlen(msg))) {