X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Flog.c;h=7a870261d8ac2379f61ecf69aa0cfd296d15eea7;hb=60418b4db60801d7c3fc995bf71f53ff5d898484;hp=1195a0a548a31e2f473a5256b06be2a2d7f41527;hpb=cc46f4b8a7e26ad47a8f2f7728be9dc16e12451b;p=libucw.git diff --git a/ucw/log.c b/ucw/log.c index 1195a0a5..7a870261 100644 --- a/ucw/log.c +++ b/ucw/log.c @@ -45,8 +45,10 @@ struct log_stream log_stream_default = { .types = ~0U, .msgfmt = LSFMT_DEFAULT, // an empty clist - .substreams.head.next = (cnode *) &log_stream_default.substreams.head, - .substreams.head.prev = (cnode *) &log_stream_default.substreams.head, + .substreams.head = { + .next = (cnode *) &log_stream_default.substreams.head, + .prev = (cnode *) &log_stream_default.substreams.head, + }, }; /*** Registry of streams and their identifiers ***/