log_error(): Fix segmentation fault
authorFabian Keil <fk@fabiankeil.de>
Tue, 9 Sep 2025 11:57:44 +0000 (13:57 +0200)
committerFabian Keil <fk@fabiankeil.de>
Thu, 9 Oct 2025 09:51:07 +0000 (11:51 +0200)
commit5d4dcc9fbf0f5c06b7e147829b5be5fd27fc8a55
treed1fcaf1fcdc64675336787419f88b5f5a0748102
parenta2af69c67f04e2fe09574ff8f92ca8b106aeb6c2
log_error(): Fix segmentation fault

... when logging %E on a platform that isn't Windows
and doesn't have strerror().

Reported by Joshua Rogers.
errlog.c