aboutsummaryrefslogtreecommitdiffstats
path: root/capchild/capture_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'capchild/capture_sync.c')
-rw-r--r--capchild/capture_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capchild/capture_sync.c b/capchild/capture_sync.c
index f15110f995..5080907c99 100644
--- a/capchild/capture_sync.c
+++ b/capchild/capture_sync.c
@@ -1332,7 +1332,7 @@ sync_interface_set_80211_chan(const gchar *iface, const char *freq, const gchar
if (type)
opt = g_strdup_printf("%s,%s,%s,%s", freq, type, center_freq1, center_freq2);
else
- opt = g_strdup_printf("%s", freq);
+ opt = g_strdup(freq);
if (!opt) {
*primary_msg = g_strdup("Out of mem.");