projects
/
profile
/
ivi
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ca7bee
)
core: get rid of ignored retval warning.
author
Krisztian Litkey
<krisztian.litkey@intel.com>
Wed, 14 Nov 2012 12:15:39 +0000
(14:15 +0200)
committer
Krisztian Litkey
<krisztian.litkey@intel.com>
Wed, 14 Nov 2012 12:24:15 +0000
(14:24 +0200)
src/core/console.c
patch
|
blob
|
history
diff --git
a/src/core/console.c
b/src/core/console.c
index
21bd29f
..
9bc1c0f
100644
(file)
--- a/
src/core/console.c
+++ b/
src/core/console.c
@@
-171,7
+171,8
@@
mrp_console_t *mrp_create_console(mrp_context_t *ctx, mrp_console_req_t *req,
c->in.line = 0;
c->in.fd = -1;
- pipe(c->pout);
+ if (pipe(c->pout) < 0)
+ mrp_log_warning("Failed to create console redirection pipe.");
c->ofd = c->efd = -1;
mrp_list_append(&ctx->consoles, &c->hook);