From: "Alejandro Riveira Fernández" <ariveira@gmail.com>
To: johannes@sipsolutions.net
Cc: linux-wireless@vger.kernel.org
Subject: [PATCH] Fix warning in info.c with gcc 4.3 (Ubuntu 8.10)
Date: Sun, 23 Nov 2008 19:09:51 +0100 [thread overview]
Message-ID: <20081123190951.686d099a@varda> (raw)
fix this warning i got with last pull
info.c: In function 'print_flag':
info.c:19: warning: format not a string literal and no format arguments
---
info.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/info.c b/info.c
index 9b04719..a9c23a4 100644
--- a/info.c
+++ b/info.c
@@ -16,7 +16,7 @@ static void print_flag(const char *name, int *open)
printf(" (");
else
printf(", ");
- printf(name);
+ printf("%s\n",name);
*open = 1;
}
--
1.6.0.4.766.g6fc4a
next reply other threads:[~2008-11-23 18:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-23 18:09 Alejandro Riveira Fernández [this message]
2008-11-23 19:58 ` [PATCH] Fix warning in info.c with gcc 4.3 (Ubuntu 8.10) Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081123190951.686d099a@varda \
--to=ariveira@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.