X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fhostname-setup.c;h=f81103a8103eb48aa44c1f1c14c97937392d25df;hp=74ff64883f51d5224c046cb0fdfc618c88a514f2;hb=da927ba997d68401563b927f92e6e40e021a8e5c;hpb=0a1beeb64207eaa88ab9236787b1cbc2f704ae14;ds=sidebyside diff --git a/src/core/hostname-setup.c b/src/core/hostname-setup.c index 74ff64883..f81103a81 100644 --- a/src/core/hostname-setup.c +++ b/src/core/hostname-setup.c @@ -64,7 +64,7 @@ int hostname_setup(void) { if (r == -ENOENT) enoent = true; else - log_warning_errno(-r, "Failed to read configured hostname: %m"); + log_warning_errno(r, "Failed to read configured hostname: %m"); hn = NULL; } else