chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logind: apply selinux label to XDG_RUNTIME_DIR
[elogind.git]
/
src
/
login
/
sysfs-show.c
diff --git
a/src/login/sysfs-show.c
b/src/login/sysfs-show.c
index 939bd6125e21f23a1d6598d0bc7d990daed78426..9a9fb7622d1732abb69576101105da5328fd02e4 100644
(file)
--- a/
src/login/sysfs-show.c
+++ b/
src/login/sysfs-show.c
@@
-27,6
+27,7
@@
#include "sysfs-show.h"
#include "path-util.h"
#include "udev-util.h"
#include "sysfs-show.h"
#include "path-util.h"
#include "udev-util.h"
+#include "terminal-util.h"
static int show_sysfs_one(
struct udev *udev,
static int show_sysfs_one(
struct udev *udev,
@@
-121,13
+122,13
@@
static int show_sysfs_one(
if (!k)
return -ENOMEM;
if (!k)
return -ENOMEM;
- printf("%s%s%s\n", prefix, lookahead ? draw_special_char(DRAW_TREE_VERT) : " ", k);
+ printf("%s%s%s\n", prefix, lookahead ? draw_special_char(DRAW_TREE_VERT
ICAL
) : " ", k);
*item = next;
if (*item) {
_cleanup_free_ char *p = NULL;
*item = next;
if (*item) {
_cleanup_free_ char *p = NULL;
- p = strappend(prefix, lookahead ? draw_special_char(DRAW_TREE_VERT) : " ");
+ p = strappend(prefix, lookahead ? draw_special_char(DRAW_TREE_VERT
ICAL
) : " ");
if (!p)
return -ENOMEM;
if (!p)
return -ENOMEM;