Skip to content

Commit

Permalink
drivers/net/wireless/b43: fix warning: format not a string literal an…
Browse files Browse the repository at this point in the history
…d no ...

Fix this compilation warning:
  drivers/net/wireless/b43/main.c: In function 'b43_print_fw_helptext':
  drivers/net/wireless/b43/main.c:1971: warning: format not a string literal and no format arguments
  drivers/net/wireless/b43/main.c:1973: warning: format not a string literal and no format arguments

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Hannes Eder authored and David S. Miller committed Feb 18, 2009
1 parent 93f726a commit fc68ed4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/net/wireless/b43/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1961,12 +1961,12 @@ static void b43_release_firmware(struct b43_wldev *dev)

static void b43_print_fw_helptext(struct b43_wl *wl, bool error)
{
const char *text;
const char text[] =
"You must go to " \
"http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware " \
"and download the correct firmware for this driver version. " \
"Please carefully read all instructions on this website.\n";

text = "You must go to "
"http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware "
"and download the correct firmware for this driver version. "
"Please carefully read all instructions on this website.\n";
if (error)
b43err(wl, text);
else
Expand Down

0 comments on commit fc68ed4

Please sign in to comment.