projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
435fe4e
)
fix container_of for the log ustream
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 30 Oct 2012 00:13:17 +0000
(
01:13
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 30 Oct 2012 00:22:11 +0000
(
01:22
+0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index cb9fa1666ff17b154b41499bb4c27f065b6660a2..56851e024868885191d94205c78c676066974bcc 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-83,7
+83,7
@@
netifd_process_log_read_cb(struct ustream *s, int bytes)
char *data;
int len = 0;
- proc = container_of(s, struct netifd_process, log);
+ proc = container_of(s, struct netifd_process, log
.stream
);
log_prefix = proc->log_prefix;
if (!log_prefix)
log_prefix = "process";