X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Finstall.c;h=9094662dfc317cef1876bef25735f3ed5ce3e5c0;hp=1e90bdf725129bb45888dbca66752f718ec517f1;hb=da927ba997d68401563b927f92e6e40e021a8e5c;hpb=0a1beeb64207eaa88ab9236787b1cbc2f704ae14 diff --git a/src/shared/install.c b/src/shared/install.c index 1e90bdf72..9094662df 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -1554,7 +1554,7 @@ int unit_file_add_dependency( state = unit_file_get_state(scope, root_dir, *i); if (state < 0) { - log_error_errno(-state, "Failed to get unit file state for %s: %m", *i); + log_error_errno(state, "Failed to get unit file state for %s: %m", *i); return state; }