projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add askfirst tool
[project/procd.git]
/
hotplug-rule.c
diff --git
a/hotplug-rule.c
b/hotplug-rule.c
index
cb31c3f
..
1f3189d
100644
(file)
--- a/
hotplug-rule.c
+++ b/
hotplug-rule.c
@@
-325,7
+325,7
@@
static void cmd_add_string(const char *pattern, struct blob_attr *msg)
int len = 0;
bool var = false;
- blobmsg_alloc_string_buffer(&b, NULL, 1);
+
dest =
blobmsg_alloc_string_buffer(&b, NULL, 1);
str = alloca(strlen(pattern) + 1);
strcpy(str, pattern);
next = str;