Search Linux Wireless

[PATCH] Fix warning in info.c with gcc 4.3 (Ubuntu 8.10)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux