summaryrefslogtreecommitdiffstats
path: root/syslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslog.c')
-rw-r--r--syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslog.c b/syslog.c
index 2ed83e9f..6da9b282 100644
--- a/syslog.c
+++ b/syslog.c
@@ -242,7 +242,7 @@ val make_syslog_stream(val prio)
strm_base_init(&s->a);
s->prio = prio;
s->strstream = nil;
- stream = cobj(coerce(mem_t *, s), stream_s, &syslog_strm_ops.cobj_ops);
+ stream = cobj(coerce(mem_t *, s), stream_cls, &syslog_strm_ops.cobj_ops);
s->strstream = strstream;
return stream;
}