chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bootctl: move toupper() implementation to string-util.h
[elogind.git]
/
src
/
basic
/
unit-name.c
diff --git
a/src/basic/unit-name.c
b/src/basic/unit-name.c
index 15e97bb7793cdcea45c98e838bdcd5b21b5b8059..463301eebffdac579a9ebe3d1a978f7071b620bb 100644
(file)
--- 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.
/***
This file is part of systemd.
@@
-27,7
+25,7
@@
#include "alloc-util.h"
#include "bus-label.h"
#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"
#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) {
else {
r = free_and_strdup(&s, "-.slice");
if (r < 0) {
- free(s);
+
free(s);
return r;
}
}
return r;
}
}