Code Review
/
src
/
app-framework-main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f62f4e2
)
afm-run: improve error diagnostic
author
José Bollo
<jose.bollo@iot.bzh>
Thu, 16 Mar 2017 10:19:00 +0000
(11:19 +0100)
committer
José Bollo
<jose.bollo@iot.bzh>
Thu, 16 Mar 2017 11:01:02 +0000
(12:01 +0100)
Change-Id: Ic23bcc031fdc72e15675bffcbac619ef41a2f241
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afm-run.c
patch
|
blob
|
history
diff --git
a/src/afm-run.c
b/src/afm-run.c
index
55b2daf
..
089aa77
100644
(file)
--- a/
src/afm-run.c
+++ b/
src/afm-run.c
@@
-468,6
+468,7
@@
static int fill_launch_desc(struct json_object *appli,
|| !j_read_string_at(pub, "name", &desc->name)
|| !j_read_integer_at(pub, "width", &desc->width)
|| !j_read_integer_at(pub, "height", &desc->height)) {
+ ERROR("bad internal description of the application to launch: %s", json_object_get_string(appli));
errno = EINVAL;
return -1;
}