diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-10-31 10:30:17 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-10-31 10:30:17 +0000 |
commit | ee2b7fd393064d7f48bb4867696f3288782ba6b9 (patch) | |
tree | ad58bc01b508fe6803d76703aad31bd4a3ac0070 /capture_opts.c | |
parent | 8608c8f1ded10fbaee00ff90d1fe7ca90b266629 (diff) | |
download | wireshark-ee2b7fd393064d7f48bb4867696f3288782ba6b9.tar.gz wireshark-ee2b7fd393064d7f48bb4867696f3288782ba6b9.tar.bz2 wireshark-ee2b7fd393064d7f48bb4867696f3288782ba6b9.zip |
Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26642
Diffstat (limited to 'capture_opts.c')
-rw-r--r-- | capture_opts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capture_opts.c b/capture_opts.c index be35d9743a..266312beef 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -669,7 +669,7 @@ capture_opts_list_interfaces(gboolean machine_readable) case AT_IPv4: if (inet_ntop(AF_INET, &if_addr->ip_addr.ip4_addr, addr_str, ADDRSTRLEN)) { - printf(addr_str); + printf("%s", addr_str); } else { printf("<unknown IPv4>"); } @@ -677,7 +677,7 @@ capture_opts_list_interfaces(gboolean machine_readable) case AT_IPv6: if (inet_ntop(AF_INET6, &if_addr->ip_addr.ip6_addr, addr_str, ADDRSTRLEN)) { - printf(addr_str); + printf("%s", addr_str); } else { printf("<unknown IPv6>"); } |