summaryrefslogtreecommitdiffstats
path: root/discover/event-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/event-parser.c')
-rw-r--r--discover/event-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/event-parser.c b/discover/event-parser.c
index 0b96a09..1eec5c9 100644
--- a/discover/event-parser.c
+++ b/discover/event-parser.c
@@ -31,6 +31,7 @@ int parse_user_event(struct device *device, struct event *event)
}
opt->id = talloc_asprintf(opt, "%s#%s", device->id, p);
+ opt->device_id = talloc_strdup(opt, device->id);
opt->name = talloc_strdup(opt, p);
p = event_get_param(event, "image");
OpenPOWER on IntegriCloud