hostnamed: correct variable with errno in fallback_chassis
authorJan Palus <jpalus@fastmail.com>
Wed, 7 Jul 2021 22:23:21 +0000 (00:23 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 12 Jul 2021 11:30:55 +0000 (13:30 +0200)
commit4a44597bdd725f504ebd520b0deef7797dc46daa
tree8c6f0a77086403c166362dfd0b2f7707671079f7
parent80a0a2b9a5883a2d0b1c47092fb555e6198cfd3e
hostnamed: correct variable with errno in fallback_chassis

fixes assertion failure on arm:

systemd-hostnamed[642]: Assertion '(_error) != 0' failed at src/hostname/hostnamed.c:207, function fallback_chassis(). Aborting.

(cherry picked from commit 105a4245ff13d588e1e848e8ee3cffd6185bd0ae)
src/hostname/hostnamed.c