summaryrefslogtreecommitdiff
path: root/log/logd.c
diff options
context:
space:
mode:
Diffstat (limited to 'log/logd.c')
-rw-r--r--log/logd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log/logd.c b/log/logd.c
index 9931723..18788fe 100644
--- a/log/logd.c
+++ b/log/logd.c
@@ -119,7 +119,7 @@ read_log(struct ubus_context *ctx, struct ubus_object *obj,
l = log_list(count, NULL);
if (stream) {
if (pipe(fds) == -1) {
- fprintf(stderr, "logd: failed to create pipe: %s\n", strerror(errno));
+ fprintf(stderr, "logd: failed to create pipe: %m\n");
return -1;
}