summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/sconfig/main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/sconfig/main.c b/util/sconfig/main.c
index 04f78a406e..3f12946edf 100644
--- a/util/sconfig/main.c
+++ b/util/sconfig/main.c
@@ -1971,25 +1971,25 @@ int main(int argc, char **argv)
&option_index)) != EOF) {
switch (opt) {
case 'm':
- base_devtree = strdup(optarg);
+ base_devtree = optarg;
break;
case 'o':
- override_devtree = strdup(optarg);
+ override_devtree = optarg;
break;
case 'p':
- chipset_devtree = strdup(optarg);
+ chipset_devtree = optarg;
break;
case 'c':
- outputc = strdup(optarg);
+ outputc = optarg;
break;
case 'r':
- outputh = strdup(optarg);
+ outputh = optarg;
break;
case 'd':
- outputd = strdup(optarg);
+ outputd = optarg;
break;
case 'f':
- outputf = strdup(optarg);
+ outputf = optarg;
break;
case 'h':
default: