mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
parent
6b01f1d391
commit
7c83910bb9
@ -121,13 +121,13 @@ static int show_sysfs_one(
|
|||||||
if (!k)
|
if (!k)
|
||||||
return -ENOMEM;
|
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_VERTICAL) : " ", k);
|
||||||
|
|
||||||
*item = next;
|
*item = next;
|
||||||
if (*item) {
|
if (*item) {
|
||||||
_cleanup_free_ char *p = NULL;
|
_cleanup_free_ char *p = NULL;
|
||||||
|
|
||||||
p = strappend(prefix, lookahead ? draw_special_char(DRAW_TREE_VERT) : " ");
|
p = strappend(prefix, lookahead ? draw_special_char(DRAW_TREE_VERTICAL) : " ");
|
||||||
if (!p)
|
if (!p)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user