aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/soapy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/soapy.c b/src/common/soapy.c
index c005162..28dedde 100644
--- a/src/common/soapy.c
+++ b/src/common/soapy.c
@@ -55,7 +55,7 @@ int soapy_open(const char *device_args, double tx_frequency, double rx_frequency
soapy_close();
return -EIO;
}
- val++;
+ *val++ = '\0';
arg_string = strchr(val, ',');
if (arg_string)
*arg_string++ = '\0';