along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <errno.h>
-#include <string.h>
-#include <stdio.h>
-#include <fcntl.h>
#include "hostname-setup.h"
#include "util.h"
r = hostname_setup();
if (r < 0)
- log_error_errno(-r, "hostname: %m");
+ log_error_errno(r, "hostname: %m");
return 0;
}