X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Funit-name.c;h=463301eebffdac579a9ebe3d1a978f7071b620bb;hp=15e97bb7793cdcea45c98e838bdcd5b21b5b8059;hb=844d57fd5de46b45d8610d296dc5e20d749eff11;hpb=935ee8fca4987ead1c3afd657e8da4acbb0a45ce diff --git a/src/basic/unit-name.c b/src/basic/unit-name.c index 15e97bb77..463301eeb 100644 --- a/src/basic/unit-name.c +++ b/src/basic/unit-name.c @@ -1,5 +1,3 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - /*** This file is part of systemd. @@ -27,7 +25,7 @@ #include "alloc-util.h" #include "bus-label.h" -#include "glob-util.h" +//#include "glob-util.h" #include "hexdecoct.h" #include "macro.h" #include "path-util.h" @@ -763,7 +761,7 @@ int slice_build_parent_slice(const char *slice, char **ret) { else { r = free_and_strdup(&s, "-.slice"); if (r < 0) { - free(s); + free(s); return r; } }