diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2004-11-14 02:17:58 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2004-11-14 02:17:58 +0000 |
commit | 5ac3c1ef76b8d1640bad9a21b74b197a82111874 (patch) | |
tree | 79534ea0d8483a5a35e8f09dc746c07230647b4e /hcid/parser.y | |
parent | e0cbfd7cc76db2b084c1218408e71838d3c4e3b0 (diff) |
Inherit the device specific options from the default
Diffstat (limited to 'hcid/parser.y')
-rw-r--r-- | hcid/parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/parser.y b/hcid/parser.y index eb81ab22..7c33278e 100644 --- a/hcid/parser.y +++ b/hcid/parser.y @@ -183,7 +183,7 @@ device_opt: | K_NAME dev_name { if (parser_device->name) free(parser_device->name); - parser_device->name = $2; + parser_device->name = strdup($2); } | K_CLASS NUM { |