]> git.puffer.fish Git - mirror/frr.git/commit
lib: fix TLS log buffer on NetBSD 6771/head
authorDavid Lamparter <equinox@diac24.net>
Sun, 19 Jul 2020 09:14:48 +0000 (11:14 +0200)
committerDavid Lamparter <equinox@diac24.net>
Mon, 20 Jul 2020 04:29:06 +0000 (06:29 +0200)
commit6a3b431b85088d2d76a14d6c22ee85bdc5465c8c
treedf30889b8ffbf983970a86887d6674da58c5343b
parent67ce4ba19b00eaa542d12c17c5da0652238a8049
lib: fix TLS log buffer on NetBSD

... this didn't work on NetBSD.  Like, at all.  It returns a positive
error code from posix_fallocate() and then we bang our head against a
brick wall trying to write to the mmap'd buffer.

Signed-off-by: David Lamparter <equinox@diac24.net>
lib/zlog.c